Skip to content

#cd09eb

a balanced, electric magenta / pink · neutral · closest name: Medium Orchid

RGB
205, 9, 235
HSL
292°, 93%, 48%
CMYK
13, 96, 0, 8
Luminance
0.1917

At a glance

Every number on this page in one read: what #cd09eb is made of, how bright it looks, and which way it leans.

Hex
#cd09eb
Hue
292°
magenta / pink
Saturation
93%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1917
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.83:1
Closest name
Medium Orchid
ΔE2000 7.1
Where it sits
Hue292° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool54% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cd09eb
RGBrgb(205, 9, 235)
HSLhsl(292, 93%, 48%)
CMYKcmyk(13%, 96%, 0%, 8%)
LABlab(50.9 87.2 -65.3)
LCHlch(50.9 108.9 323.2)
OKLCHoklch(0.616 0.291 321.0)
Decimal13437419
Display P3color(display-p3 0.804 0.035 0.922)

Copy-ready code

/* CSS */
color: #cd09eb;
background-color: #cd09eb;
/* Tailwind (arbitrary) */
class="text-[#cd09eb] bg-[#cd09eb]"
/* SCSS */
$brand: #cd09eb;
/* SwiftUI */
Color(red: 0.804, green: 0.035, blue: 0.922)
/* Android */
Color.parseColor("#cd09eb")
/* Flutter */
Color(0xFFCD09EB)
/* Python / OpenCV (BGR) */
(235, 9, 205)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cd09eb · 4.83:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.34:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.83:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cd09eb as text scores 4.34:1 on white and 4.83:1 on black.

Accessibility — WCAG contrast

Aa
#cd09eb on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#cd09eb on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006EF0
deuteranopia · #367FE7
tritanopia · #CE4F8B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd09eb is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF2FD
#F8E4FB
#F2C2F9
#ED93FB
#E45DF9
#DB27F7
#cd09eb
#AB08C4
#89069D
#630971
#3E0647
Base = 600Lightest = 50 · #FCF2FDDarkest = 950 · #3E0647
:root {
  --brand-50: #FCF2FD;
  --brand-100: #F8E4FB;
  --brand-200: #F2C2F9;
  --brand-300: #ED93FB;
  --brand-400: #E45DF9;
  --brand-500: #DB27F7;
  --brand-600: #cd09eb;
  --brand-700: #AB08C4;
  --brand-800: #89069D;
  --brand-900: #630971;
  --brand-950: #3E0647;
  --brand: #cd09eb;
  --brand-ink: #000000;
}

Colors that work with #cd09eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E7C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#4FC903
Second voice, not a rival
Dark variant#6B057B
Hover, pressed, headers
Light variant#FBE6FE
Selected rows, tints
Dark surface#221424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cd09eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#27EB09
Analogous left#5C09EB
Analogous right#EB0998
Split-complement 1#98EB09
Split-complement 2#09EB5C
Triadic 1#EBCD09
Triadic 2#09EBCD
Tetradic#EB5C09

RGB percentages

Red80.4%
Green3.5%
Blue92.2%

CMYK percentages

Cyan12.8%
Magenta96.2%
Yellow0.0%
Key (black)7.8%

Color previews

#cd09eb text on a black background

contrast 4.83:1

Card sample

#cd09eb text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cd09eb;
Background color
Panel with #cd09eb background
background-color: #cd09eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cd09eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(205, 9, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 9, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd09eb;
background: linear-gradient(135deg, #cd09eb, #EB0972);

Monochromatic scale

Palettes built from #cd09eb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cd09eb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cd09eb, answered

What color is #cd09eb?

#cd09eb is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 7.1). It sits at 292° on the hue wheel with 93% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #cd09eb?

rgb(205, 9, 235) — 205 red, 9 green and 235 blue out of 255, or 80.4% / 3.5% / 92.2% by channel.

Is #cd09eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.1917 and perceived brightness is 54%, so black text on it reaches 4.83:1.

Should I use black or white text on #cd09eb?

Black. It scores 4.83:1 against #cd09eb, versus 4.34:1 for white — AA at any size.

What is the complementary color of #cd09eb?

#27EB09 sits directly opposite on the wheel. Softer options are the split-complements #98EB09 and #09EB5C, which give the same contrast with far less vibration.

What colors go well with #cd09eb?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #4FC903 as an accent and #6B057B for hover and pressed states. For a palette, the analogous pair #5C09EB and #EB0998 stays calm, while #27EB09 is the loudest partner.

What is #cd09eb in CMYK for printing?

cmyk(13%, 96%, 0%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cd09eb warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB09B6; nudged cooler, #7A07ED.

Work with #cd09eb in the Color Lab