#D87DCB#D87DCB

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

Color values

HEX#D87DCB
RGBrgb(216, 125, 203)
HSLhsl(309, 54%, 67%)
HSVhsv(309, 42%, 85%)
CMYKcmyk(0%, 42.1%, 6%, 15.3%)
CIE-LABlab(64.63, 46.25, -25.43)
CIE-LCHlch(64.63, 52.78, 331.20°)
OKLaboklab(71.37% 0.1318 -0.0688)
OKLCHoklch(71.37% 0.149 332.4)
XYZxyz(46.4317, 33.5805, 60.5243)
Luminance0.3358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DCB #7DD88A
analogous
#B77DD8 #D87DCB #D87D9E
triadic
#D87DCB #CBD87D #7DCBD8
tetradic
#D87DCB #D8B77D #7DD88A #7D9ED8
square
#D87DCB #D8B77D #7DD88A #7D9ED8
split-complementary
#D87DCB #9ED87D #7DD8B7
monochromatic
#A83297 #CA4EB8 #D87DCB #E6ACDE #F4DBF1

Accessibility & contrast

On white

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

On black

7.72
#D87DCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DCB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DCB#FFFFFF#000000##000000
##D87DCB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CE
Deuteranopia (green-blind)
#93A1C8
Tritanopia (blue-blind)
#DF839B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87dcb;
/* rgb */ color: rgb(216, 125, 203);
/* oklch */ color: oklch(71.4% 0.149 332.4);
Tailwind
colors: {
  custom: {
    50: '#e6a5db',
    500: '#d87dcb',
    950: '#000000',
  },
}
SCSS
$custom: #d87dcb;
$custom-light: #e6a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dcb",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 308.571,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71374,
    "c": 0.1487,
    "h": 332.4
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

primary
#D87DCB
secondary
#CAE7CE
accent
#C13B24
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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