#CD87EE#CD87EE

#CD87EE is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.3% C 0.160 H 314.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CD87EE
RGBrgb(205, 135, 238)
HSLhsl(281, 75%, 73%)
HSVhsv(281, 43%, 93%)
CMYKcmyk(13.9%, 43.3%, 0%, 6.7%)
CIE-LABlab(66.89, 44.39, -41.48)
CIE-LCHlch(66.89, 60.75, 316.94°)
OKLaboklab(73.27% 0.1119 -0.1149)
OKLCHoklch(73.27% 0.16 314.2)
XYZxyz(49.2709, 36.4813, 85.3184)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87EE #A8EE87
analogous
#9987EE #CD87EE #EE87DB
triadic
#CD87EE #EECD87 #87EECD
tetradic
#CD87EE #EE9987 #A8EE87 #87DBEE
square
#CD87EE #EE9987 #A8EE87 #87DBEE
split-complementary
#CD87EE #DBEE87 #87EE99
monochromatic
#9F1FDC #B751E6 #CD87EE #E3BDF6 #F4E4FB

Accessibility & contrast

On white

2.53
#CD87EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CD87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87EE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87EE#FFFFFF#000000##000000
##CD87EE1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#CB96AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd87ee;
/* rgb */ color: rgb(205, 135, 238);
/* oklch */ color: oklch(73.3% 0.160 314.2);
Tailwind
colors: {
  custom: {
    50: '#deabf4',
    500: '#cd87ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd87ee;
$custom-light: #deabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87ee",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 280.777,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73265,
    "c": 0.16034,
    "h": 314.2
  },
  "luminance": 0.3648
}

Semantic roles & 50–950 ramp

primary
#CD87EE
secondary
#E1F3D8
accent
#D70E4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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