#CD87DF#CD87DF

#CD87DF is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.6% C 0.144 H 319.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CD87DF
RGBrgb(205, 135, 223)
HSLhsl(288, 58%, 70%)
HSVhsv(288, 39%, 87%)
CMYKcmyk(8.1%, 39.5%, 0%, 12.5%)
CIE-LABlab(66.24, 41.34, -34.20)
CIE-LCHlch(66.24, 53.65, 320.40°)
OKLaboklab(72.57% 0.109 -0.094)
OKLCHoklch(72.57% 0.144 319.2)
XYZxyz(47.1583, 35.6362, 74.1921)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87DF #99DF87
analogous
#A187DF #CD87DF #DF87C5
triadic
#CD87DF #DFCD87 #87DFCD
tetradic
#CD87DF #DFA187 #99DF87 #87C5DF
square
#CD87DF #DFA187 #99DF87 #87C5DF
split-complementary
#CD87DF #C5DF87 #87DFA1
monochromatic
#9E32BA #B957D2 #CD87DF #E1B7EC #F5E7F9

Accessibility & contrast

On white

2.58
#CD87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#CD87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87DF
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87DF#FFFFFF#000000##000000
##CD87DF1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE2
Deuteranopia (green-blind)
#8DA4DC
Tritanopia (blue-blind)
#CE92A9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd87df;
/* rgb */ color: rgb(205, 135, 223);
/* oklch */ color: oklch(72.6% 0.144 319.2);
Tailwind
colors: {
  custom: {
    50: '#ddabe9',
    500: '#cd87df',
    950: '#000000',
  },
}
SCSS
$custom: #cd87df;
$custom-light: #ddabe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87df",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 287.727,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72569,
    "c": 0.14395,
    "h": 319.2
  },
  "luminance": 0.35635
}

Semantic roles & 50–950 ramp

primary
#CD87DF
secondary
#DAEDD5
accent
#C52042
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD87DF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD87DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva