#D87CD0#D87CD0

#D87CD0 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.155 H 330.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D87CD0
RGBrgb(216, 124, 208)
HSLhsl(305, 54%, 67%)
HSVhsv(305, 43%, 85%)
CMYKcmyk(0%, 42.6%, 3.7%, 15.3%)
CIE-LABlab(64.62, 47.64, -28.25)
CIE-LCHlch(64.62, 55.38, 329.33°)
OKLaboklab(71.43% 0.1344 -0.0768)
OKLCHoklch(71.43% 0.155 330.3)
XYZxyz(46.9112, 33.5708, 63.6711)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CD0 #7CD884
analogous
#B27CD8 #D87CD0 #D87CA2
triadic
#D87CD0 #D0D87C #7CD0D8
tetradic
#D87CD0 #D8B27C #7CD884 #7CA2D8
square
#D87CD0 #D8B27C #7CD884 #7CA2D8
split-complementary
#D87CD0 #A2D87C #7CD8B2
monochromatic
#A8329D #CA4DBF #D87CD0 #E6ABE1 #F4DAF2

Accessibility & contrast

On white

2.72
#D87CD0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D87CD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CD0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CD0#FFFFFF#000000##000000
##D87CD01.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D3
Deuteranopia (green-blind)
#91A1CD
Tritanopia (blue-blind)
#DE839C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87cd0;
/* rgb */ color: rgb(216, 124, 208);
/* oklch */ color: oklch(71.4% 0.155 330.3);
Tailwind
colors: {
  custom: {
    50: '#e6a4de',
    500: '#d87cd0',
    950: '#000000',
  },
}
SCSS
$custom: #d87cd0;
$custom-light: #e6a4de;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cd0",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 305.217,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71432,
    "c": 0.15481,
    "h": 330.3
  },
  "luminance": 0.33568
}

Semantic roles & 50–950 ramp

primary
#D87CD0
secondary
#C9E7CC
accent
#C23224
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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