#D87CEE#D87CEE

#D87CEE is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.8% C 0.183 H 319.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D87CEE
RGBrgb(216, 124, 238)
HSLhsl(288, 77%, 71%)
HSVhsv(288, 48%, 93%)
CMYKcmyk(9.2%, 47.9%, 0%, 6.7%)
CIE-LABlab(65.90, 53.19, -42.94)
CIE-LCHlch(65.90, 68.36, 321.08°)
OKLaboklab(72.8% 0.1398 -0.1188)
OKLCHoklch(72.8% 0.183 319.7)
XYZxyz(50.9572, 35.1892, 84.9803)
Luminance0.3519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CEE #92EE7C
analogous
#9F7CEE #D87CEE #EE7CCB
triadic
#D87CEE #EED87C #7CEED8
tetradic
#D87CEE #EE9F7C #92EE7C #7CCBEE
square
#D87CEE #EE9F7C #92EE7C #7CCBEE
split-complementary
#D87CEE #CBEE7C #7CEE9F
monochromatic
#B01CD4 #C846E7 #D87CEE #E8B2F5 #F7E4FB

Accessibility & contrast

On white

2.61
#D87CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D87CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CEE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CEE#FFFFFF#000000##000000
##D87CEE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#D98BAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87cee;
/* rgb */ color: rgb(216, 124, 238);
/* oklch */ color: oklch(72.8% 0.183 319.7);
Tailwind
colors: {
  custom: {
    50: '#e6a5f4',
    500: '#d87cee',
    950: '#000000',
  },
}
SCSS
$custom: #d87cee;
$custom-light: #e6a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cee",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 288.421,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.728,
    "c": 0.18349,
    "h": 319.7
  },
  "luminance": 0.35187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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