#D87CD7#D87CD7

#D87CD7 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.161 H 327.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D87CD7
RGBrgb(216, 124, 215)
HSLhsl(301, 54%, 67%)
HSVhsv(301, 43%, 85%)
CMYKcmyk(0%, 42.6%, 0.5%, 15.3%)
CIE-LABlab(64.90, 48.88, -31.73)
CIE-LCHlch(64.90, 58.28, 327.01°)
OKLaboklab(71.73% 0.1359 -0.0866)
OKLCHoklch(71.73% 0.161 327.5)
XYZxyz(47.7914, 33.9229, 68.3072)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CD7 #7CD87D
analogous
#AB7CD8 #D87CD7 #D87CA9
triadic
#D87CD7 #D7D87C #7CD7D8
tetradic
#D87CD7 #D8AB7C #7CD87D #7CA9D8
square
#D87CD7 #D8AB7C #7CD87D #7CA9D8
split-complementary
#D87CD7 #A9D87C #7CD8AB
monochromatic
#A832A6 #CA4DC9 #D87CD7 #E6ABE5 #F4DAF4

Accessibility & contrast

On white

2.70
#D87CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D87CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CD7
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CD7#FFFFFF#000000##000000
##D87CD71.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596DA
Deuteranopia (green-blind)
#8EA2D4
Tritanopia (blue-blind)
#DD859F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87cd7;
/* rgb */ color: rgb(216, 124, 215);
/* oklch */ color: oklch(71.7% 0.161 327.5);
Tailwind
colors: {
  custom: {
    50: '#e6a4e3',
    500: '#d87cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d87cd7;
$custom-light: #e6a4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cd7",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 300.652,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71734,
    "c": 0.16118,
    "h": 327.5
  },
  "luminance": 0.33921
}

Semantic roles & 50–950 ramp

primary
#D87CD7
secondary
#C9E7C9
accent
#C22624
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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