Skip to content

#cd08ce

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

RGB
205, 8, 206
HSL
300°, 93%, 42%
CMYK
1, 96, 0, 19
Luminance
0.1761

At a glance

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

Hex
#cd08ce
Hue
300°
magenta / pink
Saturation
93%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1761
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.64:1
Closest name
Medium Orchid
ΔE2000 7.6
Where it sits
Hue300° of 360°
Saturation93%
Lightness42%
Temperature
Warm ← → Cool50% 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#cd08ce
RGBrgb(205, 8, 206)
HSLhsl(300, 93%, 42%)
CMYKcmyk(1%, 96%, 0%, 19%)
LABlab(49.0 82.8 -51.7)
LCHlch(49.0 97.7 328.0)
OKLCHoklch(0.597 0.272 328.1)
Decimal13437134
Display P3color(display-p3 0.804 0.031 0.808)

Copy-ready code

/* CSS */
color: #cd08ce;
background-color: #cd08ce;
/* Tailwind (arbitrary) */
class="text-[#cd08ce] bg-[#cd08ce]"
/* SCSS */
$brand: #cd08ce;
/* SwiftUI */
Color(red: 0.804, green: 0.031, blue: 0.808)
/* Android */
Color.parseColor("#cd08ce")
/* Flutter */
Color(0xFFCD08CE)
/* Python / OpenCV (BGR) */
(206, 8, 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#ffffff on #cd08ce · 4.64:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.64:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.52:1
AA pass · AA large pass · AAA fail
Reading the other direction: #cd08ce as text scores 4.64:1 on white and 4.52:1 on black.

Accessibility — WCAG contrast

Aa
#cd08ce on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#cd08ce on black: 4.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0066D2
deuteranopia · #537CCA
tritanopia · #D43C79

Color scale — 50 to 950

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

#FDF2FD
#FBE4FB
#F9C3F9
#FA93FB
#F85DF9
#F627F7
#EA09EC
#cd08ce
#9C069D
#710971
#460647
Base = 700Lightest = 50 · #FDF2FDDarkest = 950 · #460647
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FBE4FB;
  --brand-200: #F9C3F9;
  --brand-300: #FA93FB;
  --brand-400: #F85DF9;
  --brand-500: #F627F7;
  --brand-600: #EA09EC;
  --brand-700: #cd08ce;
  --brand-800: #9C069D;
  --brand-900: #710971;
  --brand-950: #460647;
  --brand: #cd08ce;
  --brand-ink: #ffffff;
}

Colors that work with #cd08ce

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

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#ECC0ED
Hairlines and dividers
Muted text#9B4B9B
Captions on the surface
Accent#35C804
Second voice, not a rival
Dark variant#7A057B
Hover, pressed, headers
Light variant#FEE6FE
Selected rows, tints
Dark surface#241424
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 #cd08ce

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#09CE08
Analogous left#6A08CE
Analogous right#CE086C
Split-complement 1#6CCE08
Split-complement 2#08CE6A
Triadic 1#CECD08
Triadic 2#08CECD
Tetradic#CE6A08

RGB percentages

Red80.4%
Green3.1%
Blue80.8%

CMYK percentages

Cyan0.5%
Magenta96.1%
Yellow0.0%
Key (black)19.2%

Color previews

#cd08ce text on a black background

contrast 4.52:1

Card sample

#cd08ce text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd08ce

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.

#cd08ce 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.

#cd08ce, answered

What color is #cd08ce?

#cd08ce is a dark electric magenta / pink, closest to Medium Orchid (ΔE2000 7.6). It sits at 300° on the hue wheel with 93% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #cd08ce?

rgb(205, 8, 206) — 205 red, 8 green and 206 blue out of 255, or 80.4% / 3.1% / 80.8% by channel.

Is #cd08ce a light or a dark color?

It is a dark color. Relative luminance is 0.1761 and perceived brightness is 52%, so white text on it reaches 4.64:1.

Should I use black or white text on #cd08ce?

White. It scores 4.64:1 against #cd08ce, versus 4.52:1 for black — AA at any size.

What is the complementary color of #cd08ce?

#09CE08 sits directly opposite on the wheel. Softer options are the split-complements #6CCE08 and #08CE6A, which give the same contrast with far less vibration.

What colors go well with #cd08ce?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9B4B9B for secondary text, #35C804 as an accent and #7A057B for hover and pressed states. For a palette, the analogous pair #6A08CE and #CE086C stays calm, while #09CE08 is the loudest partner.

What is #cd08ce in CMYK for printing?

cmyk(1%, 96%, 0%, 19%). 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 #cd08ce warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CE0887; nudged cooler, #8506D0.

Work with #cd08ce in the Color Lab