#D87DEE#D87DEE

#D87DEE is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.9% C 0.182 H 319.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D87DEE
RGBrgb(216, 125, 238)
HSLhsl(288, 77%, 71%)
HSVhsv(288, 47%, 93%)
CMYKcmyk(9.2%, 47.5%, 0%, 6.7%)
CIE-LABlab(66.09, 52.68, -42.64)
CIE-LCHlch(66.09, 67.77, 321.02°)
OKLaboklab(72.95% 0.1385 -0.1179)
OKLCHoklch(72.95% 0.182 319.6)
XYZxyz(51.0832, 35.4411, 85.0223)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DEE #93EE7D
analogous
#9F7DEE #D87DEE #EE7DCB
triadic
#D87DEE #EED87D #7DEED8
tetradic
#D87DEE #EE9F7D #93EE7D #7DCBEE
square
#D87DEE #EE9F7D #93EE7D #7DCBEE
split-complementary
#D87DEE #CBEE7D #7DEE9F
monochromatic
#B11CD5 #C847E7 #D87DEE #E8B3F5 #F7E4FB

Accessibility & contrast

On white

2.60
#D87DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D87DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DEE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DEE#FFFFFF#000000##000000
##D87DEE1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#D98CAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87dee;
/* rgb */ color: rgb(216, 125, 238);
/* oklch */ color: oklch(72.9% 0.182 319.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5f4',
    500: '#d87dee',
    950: '#000000',
  },
}
SCSS
$custom: #d87dee;
$custom-light: #e6a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dee",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 288.319,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72945,
    "c": 0.18188,
    "h": 319.6
  },
  "luminance": 0.35439
}

Semantic roles & 50–950 ramp

primary
#D87DEE
secondary
#DAF2D5
accent
#D90C34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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