#D87DCF#D87DCF

#D87DCF is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.5% C 0.152 H 330.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D87DCF
RGBrgb(216, 125, 207)
HSLhsl(306, 54%, 67%)
HSVhsv(306, 42%, 85%)
CMYKcmyk(0%, 42.1%, 4.2%, 15.3%)
CIE-LABlab(64.78, 46.95, -27.44)
CIE-LCHlch(64.78, 54.38, 329.70°)
OKLaboklab(71.54% 0.1327 -0.0745)
OKLCHoklch(71.54% 0.152 330.7)
XYZxyz(46.9145, 33.7736, 63.0672)
Luminance0.3377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DCF #7DD886
analogous
#B47DD8 #D87DCF #D87DA2
triadic
#D87DCF #CFD87D #7DCFD8
tetradic
#D87DCF #D8B47D #7DD886 #7DA2D8
square
#D87DCF #D8B47D #7DD886 #7DA2D8
split-complementary
#D87DCF #A2D87D #7DD8B4
monochromatic
#A8329D #CA4EBE #D87DCF #E6ACE0 #F4DBF2

Accessibility & contrast

On white

2.71
#D87DCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#D87DCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DCF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DCF#FFFFFF#000000##000000
##D87DCF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#92A2CC
Tritanopia (blue-blind)
#DF849C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87dcf;
/* rgb */ color: rgb(216, 125, 207);
/* oklch */ color: oklch(71.5% 0.152 330.7);
Tailwind
colors: {
  custom: {
    50: '#e6a5de',
    500: '#d87dcf',
    950: '#000000',
  },
}
SCSS
$custom: #d87dcf;
$custom-light: #e6a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dcf",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 305.934,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.15221,
    "h": 330.7
  },
  "luminance": 0.33771
}

Semantic roles & 50–950 ramp

primary
#D87DCF
secondary
#CAE7CD
accent
#C13424
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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