#D987D4#D987D4

#D987D4 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.4% C 0.140 H 329.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D987D4
RGBrgb(217, 135, 212)
HSLhsl(304, 52%, 69%)
HSVhsv(304, 38%, 85%)
CMYKcmyk(0%, 37.8%, 2.3%, 14.9%)
CIE-LABlab(67.15, 42.94, -26.57)
CIE-LCHlch(67.15, 50.50, 328.25°)
OKLaboklab(73.41% 0.1203 -0.0721)
OKLCHoklch(73.41% 0.14 329.1)
XYZxyz(49.1621, 36.8354, 66.7950)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987D4 #87D98C
analogous
#B587D9 #D987D4 #D987AB
triadic
#D987D4 #D4D987 #87D4D9
tetradic
#D987D4 #D9B587 #87D98C #87ABD9
square
#D987D4 #D9B587 #87D98C #87ABD9
split-complementary
#D987D4 #ABD987 #87D9B5
monochromatic
#AE37A7 #CA59C3 #D987D4 #E8B5E5 #F6E4F5

Accessibility & contrast

On white

2.51
#D987D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D987D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987D4
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987D4#FFFFFF#000000##000000
##D987D41.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#839DD7
Deuteranopia (green-blind)
#98A7D1
Tritanopia (blue-blind)
#DF8DA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d987d4;
/* rgb */ color: rgb(217, 135, 212);
/* oklch */ color: oklch(73.4% 0.140 329.1);
Tailwind
colors: {
  custom: {
    50: '#e6abe1',
    500: '#d987d4',
    950: '#000000',
  },
}
SCSS
$custom: #d987d4;
$custom-light: #e6abe1;
$custom-dark: #000000;
JSON
{
  "hex": "#d987d4",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 303.659,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7341,
    "c": 0.14028,
    "h": 329.1
  },
  "luminance": 0.36833
}

Semantic roles & 50–950 ramp

primary
#D987D4
secondary
#D2EAD3
accent
#BF3026
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D987D4

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

Preview Lab → · Contrast checker → · Palette generator →

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