#D987DF#D987DF

#D987DF is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.9% C 0.151 H 324.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D987DF
RGBrgb(217, 135, 223)
HSLhsl(296, 58%, 70%)
HSVhsv(296, 39%, 87%)
CMYKcmyk(2.7%, 39.5%, 0%, 12.5%)
CIE-LABlab(67.58, 44.96, -32.01)
CIE-LCHlch(67.58, 55.19, 324.55°)
OKLaboklab(73.87% 0.1228 -0.0875)
OKLCHoklch(73.87% 0.151 324.5)
XYZxyz(50.5972, 37.4094, 74.3533)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987DF #8DDF87
analogous
#AD87DF #D987DF #DF87B9
triadic
#D987DF #DFD987 #87DFD9
tetradic
#D987DF #DFAD87 #8DDF87 #87B9DF
square
#D987DF #DFAD87 #8DDF87 #87B9DF
split-complementary
#D987DF #B9DF87 #87DFAD
monochromatic
#B132BA #CA57D2 #D987DF #E8B7EC #F7E7F9

Accessibility & contrast

On white

2.48
#D987DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#D987DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987DF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987DF#FFFFFF#000000##000000
##D987DF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE2
Deuteranopia (green-blind)
#94A8DC
Tritanopia (blue-blind)
#DD90A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d987df;
/* rgb */ color: rgb(217, 135, 223);
/* oklch */ color: oklch(73.9% 0.151 324.5);
Tailwind
colors: {
  custom: {
    50: '#e6ace9',
    500: '#d987df',
    950: '#000000',
  },
}
SCSS
$custom: #d987df;
$custom-light: #e6ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#d987df",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 295.909,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.15083,
    "h": 324.5
  },
  "luminance": 0.37407
}

Semantic roles & 50–950 ramp

primary
#D987DF
secondary
#D6EDD5
accent
#C5202B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D987DF

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

Preview Lab → · Contrast checker → · Palette generator →

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