#D87CD1#D87CD1

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

Color values

HEX#D87CD1
RGBrgb(216, 124, 209)
HSLhsl(305, 54%, 67%)
HSVhsv(305, 43%, 85%)
CMYKcmyk(0%, 42.6%, 3.2%, 15.3%)
CIE-LABlab(64.66, 47.81, -28.75)
CIE-LCHlch(64.66, 55.79, 328.99°)
OKLaboklab(71.47% 0.1347 -0.0782)
OKLCHoklch(71.47% 0.156 329.9)
XYZxyz(47.0346, 33.6201, 64.3211)
Luminance0.3362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CD1 #7CD883
analogous
#B17CD8 #D87CD1 #D87CA3
triadic
#D87CD1 #D1D87C #7CD1D8
tetradic
#D87CD1 #D8B17C #7CD883 #7CA3D8
square
#D87CD1 #D8B17C #7CD883 #7CA3D8
split-complementary
#D87CD1 #A3D87C #7CD8B1
monochromatic
#A8329F #CA4DC0 #D87CD1 #E6ABE2 #F4DAF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87CD1#FFFFFF#000000##000000
##D87CD11.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)
#7795D4
Deuteranopia (green-blind)
#90A1CE
Tritanopia (blue-blind)
#DE839D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87cd1;
/* rgb */ color: rgb(216, 124, 209);
/* oklch */ color: oklch(71.5% 0.156 329.9);
Tailwind
colors: {
  custom: {
    50: '#e6a4df',
    500: '#d87cd1',
    950: '#000000',
  },
}
SCSS
$custom: #d87cd1;
$custom-light: #e6a4df;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cd1",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 304.565,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.15571,
    "h": 329.9
  },
  "luminance": 0.33618
}

Semantic roles & 50–950 ramp

primary
#D87CD1
secondary
#C9E7CB
accent
#C23024
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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