#D87DEF#D87DEF

#D87DEF is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.183 H 319.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D87DEF
RGBrgb(216, 125, 239)
HSLhsl(288, 78%, 71%)
HSVhsv(288, 48%, 94%)
CMYKcmyk(9.6%, 47.7%, 0%, 6.3%)
CIE-LABlab(66.14, 52.88, -43.12)
CIE-LCHlch(66.14, 68.23, 320.81°)
OKLaboklab(72.99% 0.1386 -0.1193)
OKLCHoklch(72.99% 0.183 319.3)
XYZxyz(51.2305, 35.5000, 85.7982)
Luminance0.3550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DEF #94EF7D
analogous
#9F7DEF #D87DEF #EF7DCD
triadic
#D87DEF #EFD87D #7DEFD8
tetradic
#D87DEF #EF9F7D #94EF7D #7DCDEF
square
#D87DEF #EF9F7D #94EF7D #7DCDEF
split-complementary
#D87DEF #CDEF7D #7DEF9F
monochromatic
#B11AD7 #C847E8 #D87DEF #E8B3F6 #F7E4FC

Accessibility & contrast

On white

2.59
#D87DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D87DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DEF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DEF#FFFFFF#000000##000000
##D87DEF1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d87def;
/* rgb */ color: rgb(216, 125, 239);
/* oklch */ color: oklch(73.0% 0.183 319.3);
Tailwind
colors: {
  custom: {
    50: '#e6a5f4',
    500: '#d87def',
    950: '#000000',
  },
}
SCSS
$custom: #d87def;
$custom-light: #e6a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87def",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 287.895,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72993,
    "c": 0.18289,
    "h": 319.3
  },
  "luminance": 0.35498
}

Semantic roles & 50–950 ramp

primary
#D87DEF
secondary
#DBF3D5
accent
#DA0B35
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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