#D87EEF#D87EEF

#D87EEF is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.181 H 319.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D87EEF
RGBrgb(216, 126, 239)
HSLhsl(288, 78%, 72%)
HSVhsv(288, 47%, 94%)
CMYKcmyk(9.6%, 47.3%, 0%, 6.3%)
CIE-LABlab(66.33, 52.37, -42.81)
CIE-LCHlch(66.33, 67.64, 320.74°)
OKLaboklab(73.14% 0.1373 -0.1184)
OKLCHoklch(73.14% 0.181 319.2)
XYZxyz(51.3577, 35.7545, 85.8406)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EEF #95EF7E
analogous
#A07EEF #D87EEF #EF7ECD
triadic
#D87EEF #EFD87E #7EEFD8
tetradic
#D87EEF #EFA07E #95EF7E #7ECDEF
square
#D87EEF #EFA07E #95EF7E #7ECDEF
split-complementary
#D87EEF #CDEF7E #7EEFA0
monochromatic
#B11BD8 #C848E8 #D87EEF #E8B4F6 #F7E4FC

Accessibility & contrast

On white

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

On black

8.15
#D87EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EEF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EEF#FFFFFF#000000##000000
##D87EEF1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#D98DAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d87eef;
/* rgb */ color: rgb(216, 126, 239);
/* oklch */ color: oklch(73.1% 0.181 319.2);
Tailwind
colors: {
  custom: {
    50: '#e6a6f4',
    500: '#d87eef',
    950: '#000000',
  },
}
SCSS
$custom: #d87eef;
$custom-light: #e6a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87eef",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 287.788,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73139,
    "c": 0.18128,
    "h": 319.2
  },
  "luminance": 0.35753
}

Semantic roles & 50–950 ramp

primary
#D87EEF
secondary
#DCF3D6
accent
#DA0B35
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D87EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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