#D987CE#D987CE

#D987CE is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.2% C 0.135 H 331.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#D987CE
RGBrgb(217, 135, 206)
HSLhsl(308, 52%, 69%)
HSVhsv(308, 38%, 85%)
CMYKcmyk(0%, 37.8%, 5.1%, 14.9%)
CIE-LABlab(66.93, 41.88, -23.57)
CIE-LCHlch(66.93, 48.05, 330.62°)
OKLaboklab(73.17% 0.1188 -0.0637)
OKLCHoklch(73.17% 0.135 331.8)
XYZxyz(48.4193, 36.5382, 62.8827)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987CE #87D992
analogous
#BB87D9 #D987CE #D987A5
triadic
#D987CE #CED987 #87CED9
tetradic
#D987CE #D9BB87 #87D992 #87A5D9
square
#D987CE #D9BB87 #87D992 #87A5D9
split-complementary
#D987CE #A5D987 #87D9BB
monochromatic
#AE379E #CA59BB #D987CE #E8B5E1 #F6E4F4

Accessibility & contrast

On white

2.53
#D987CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#D987CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987CE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987CE#FFFFFF#000000##000000
##D987CE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CD1
Deuteranopia (green-blind)
#9AA7CB
Tritanopia (blue-blind)
#E08CA1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d987ce;
/* rgb */ color: rgb(217, 135, 206);
/* oklch */ color: oklch(73.2% 0.135 331.8);
Tailwind
colors: {
  custom: {
    50: '#e6abdd',
    500: '#d987ce',
    950: '#000000',
  },
}
SCSS
$custom: #d987ce;
$custom-light: #e6abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d987ce",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 308.049,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73167,
    "c": 0.1348,
    "h": 331.8
  },
  "luminance": 0.36536
}

Semantic roles & 50–950 ramp

primary
#D987CE
secondary
#D2EAD5
accent
#BF3B26
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D987CE

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

Preview Lab → · Contrast checker → · Palette generator →

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