#DC87EE#DC87EE

#DC87EE is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.9% C 0.168 H 320.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#DC87EE
RGBrgb(220, 135, 238)
HSLhsl(290, 75%, 73%)
HSVhsv(290, 43%, 93%)
CMYKcmyk(7.6%, 43.3%, 0%, 6.7%)
CIE-LABlab(68.55, 48.69, -38.76)
CIE-LCHlch(68.55, 62.23, 321.48°)
OKLaboklab(74.88% 0.1292 -0.1068)
OKLCHoklch(74.88% 0.168 320.4)
XYZxyz(53.6099, 38.7186, 85.5218)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87EE #99EE87
analogous
#A987EE #DC87EE #EE87CC
triadic
#DC87EE #EEDC87 #87EEDC
tetradic
#DC87EE #EEA987 #99EE87 #87CCEE
square
#DC87EE #EEA987 #99EE87 #87CCEE
split-complementary
#DC87EE #CCEE87 #87EEA9
monochromatic
#BB1FDC #CC51E6 #DC87EE #ECBDF6 #F7E4FB

Accessibility & contrast

On white

2.40
#DC87EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#DC87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87EE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87EE#FFFFFF#000000##000000
##DC87EE1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#DE94AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #dc87ee;
/* rgb */ color: rgb(220, 135, 238);
/* oklch */ color: oklch(74.9% 0.168 320.4);
Tailwind
colors: {
  custom: {
    50: '#e8acf4',
    500: '#dc87ee',
    950: '#000000',
  },
}
SCSS
$custom: #dc87ee;
$custom-light: #e8acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87ee",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 289.515,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74875,
    "c": 0.1676,
    "h": 320.4
  },
  "luminance": 0.38717
}

Semantic roles & 50–950 ramp

primary
#DC87EE
secondary
#DDF3D8
accent
#D70E31
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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