#D87DCC#D87DCC

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

Color values

HEX#D87DCC
RGBrgb(216, 125, 204)
HSLhsl(308, 54%, 67%)
HSVhsv(308, 42%, 85%)
CMYKcmyk(0%, 42.1%, 5.6%, 15.3%)
CIE-LABlab(64.67, 46.42, -25.93)
CIE-LCHlch(64.67, 53.18, 330.81°)
OKLaboklab(71.41% 0.1321 -0.0703)
OKLCHoklch(71.41% 0.15 332)
XYZxyz(46.5512, 33.6283, 61.1540)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DCC #7DD889
analogous
#B77DD8 #D87DCC #D87D9F
triadic
#D87DCC #CCD87D #7DCCD8
tetradic
#D87DCC #D8B77D #7DD889 #7D9FD8
square
#D87DCC #D8B77D #7DD889 #7D9FD8
split-complementary
#D87DCC #9FD87D #7DD8B7
monochromatic
#A83299 #CA4EBA #D87DCC #E6ACDE #F4DBF1

Accessibility & contrast

On white

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

On black

7.73
#D87DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DCC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DCC#FFFFFF#000000##000000
##D87DCC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d87dcc;
/* rgb */ color: rgb(216, 125, 204);
/* oklch */ color: oklch(71.4% 0.150 332.0);
Tailwind
colors: {
  custom: {
    50: '#e6a5db',
    500: '#d87dcc',
    950: '#000000',
  },
}
SCSS
$custom: #d87dcc;
$custom-light: #e6a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dcc",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 307.912,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71415,
    "c": 0.14957,
    "h": 332
  },
  "luminance": 0.33626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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