#CD87E6#CD87E6

#CD87E6 is a light, vivid purple. Relative luminance 0.360; OKLCH L 72.9% C 0.152 H 316.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CD87E6
RGBrgb(205, 135, 230)
HSLhsl(284, 66%, 72%)
HSVhsv(284, 41%, 90%)
CMYKcmyk(10.9%, 41.3%, 0%, 9.8%)
CIE-LABlab(66.54, 42.75, -37.61)
CIE-LCHlch(66.54, 56.94, 318.66°)
OKLaboklab(72.89% 0.1104 -0.1038)
OKLCHoklch(72.89% 0.152 316.8)
XYZxyz(48.1217, 36.0216, 79.2655)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87E6 #A0E687
analogous
#9E87E6 #CD87E6 #E687CF
triadic
#CD87E6 #E6CD87 #87E6CD
tetradic
#CD87E6 #E69E87 #A0E687 #87CFE6
square
#CD87E6 #E69E87 #A0E687 #87CFE6
split-complementary
#CD87E6 #CFE687 #87E69E
monochromatic
#9F2AC9 #B854DB #CD87E6 #E2BAF1 #F4E6FA

Accessibility & contrast

On white

2.56
#CD87E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#CD87E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87E6
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87E6#FFFFFF#000000##000000
##CD87E61.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DE9
Deuteranopia (green-blind)
#8AA4E3
Tritanopia (blue-blind)
#CC94AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd87e6;
/* rgb */ color: rgb(205, 135, 230);
/* oklch */ color: oklch(72.9% 0.152 316.8);
Tailwind
colors: {
  custom: {
    50: '#deabee',
    500: '#cd87e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd87e6;
$custom-light: #deabee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87e6",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 230
  },
  "hsl": {
    "h": 284.211,
    "s": 65.517,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72888,
    "c": 0.15153,
    "h": 316.8
  },
  "luminance": 0.3602
}

Semantic roles & 50–950 ramp

primary
#CD87E6
secondary
#DFF1D8
accent
#CD1848
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD87E6

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

Preview Lab → · Contrast checker → · Palette generator →

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