#D87DCD#D87DCD

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

Color values

HEX#D87DCD
RGBrgb(216, 125, 205)
HSLhsl(307, 54%, 67%)
HSVhsv(307, 42%, 85%)
CMYKcmyk(0%, 42.1%, 5.1%, 15.3%)
CIE-LABlab(64.70, 46.60, -26.43)
CIE-LCHlch(64.70, 53.57, 330.43°)
OKLaboklab(71.46% 0.1323 -0.0717)
OKLCHoklch(71.46% 0.15 331.6)
XYZxyz(46.6715, 33.6764, 61.7876)
Luminance0.3367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DCD #7DD888
analogous
#B67DD8 #D87DCD #D87DA0
triadic
#D87DCD #CDD87D #7DCDD8
tetradic
#D87DCD #D8B67D #7DD888 #7DA0D8
square
#D87DCD #D8B67D #7DD888 #7DA0D8
split-complementary
#D87DCD #A0D87D #7DD8B6
monochromatic
#A8329A #CA4EBB #D87DCD #E6ACDF #F4DBF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87DCD#FFFFFF#000000##000000
##D87DCD1.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)
#7A95D0
Deuteranopia (green-blind)
#92A2CA
Tritanopia (blue-blind)
#DF839C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87dcd;
/* rgb */ color: rgb(216, 125, 205);
/* oklch */ color: oklch(71.5% 0.150 331.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5dc',
    500: '#d87dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d87dcd;
$custom-light: #e6a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dcd",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 307.253,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71457,
    "c": 0.15045,
    "h": 331.6
  },
  "luminance": 0.33674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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