#D87DD2#D87DD2

#D87DD2 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.155 H 329.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D87DD2
RGBrgb(216, 125, 210)
HSLhsl(304, 54%, 67%)
HSVhsv(304, 42%, 85%)
CMYKcmyk(0%, 42.1%, 2.8%, 15.3%)
CIE-LABlab(64.90, 47.48, -28.93)
CIE-LCHlch(64.90, 55.60, 328.64°)
OKLaboklab(71.67% 0.1334 -0.0787)
OKLCHoklch(71.67% 0.155 329.5)
XYZxyz(47.2847, 33.9217, 65.0172)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DD2 #7DD883
analogous
#B17DD8 #D87DD2 #D87DA5
triadic
#D87DD2 #D2D87D #7DD2D8
tetradic
#D87DD2 #D8B17D #7DD883 #7DA5D8
square
#D87DD2 #D8B17D #7DD883 #7DA5D8
split-complementary
#D87DD2 #A5D87D #7DD8B1
monochromatic
#A832A0 #CA4EC2 #D87DD2 #E6ACE2 #F4DBF3

Accessibility & contrast

On white

2.70
#D87DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D87DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DD2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DD2#FFFFFF#000000##000000
##D87DD21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D5
Deuteranopia (green-blind)
#91A2CF
Tritanopia (blue-blind)
#DE849E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87dd2;
/* rgb */ color: rgb(216, 125, 210);
/* oklch */ color: oklch(71.7% 0.155 329.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5e0',
    500: '#d87dd2',
    950: '#000000',
  },
}
SCSS
$custom: #d87dd2;
$custom-light: #e6a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dd2",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 303.956,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.15491,
    "h": 329.5
  },
  "luminance": 0.33919
}

Semantic roles & 50–950 ramp

primary
#D87DD2
secondary
#CAE7CC
accent
#C12F24
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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