#D987CF#D987CF

#D987CF is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.2% C 0.136 H 331.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#D987CF
RGBrgb(217, 135, 207)
HSLhsl(307, 52%, 69%)
HSVhsv(307, 38%, 85%)
CMYKcmyk(0%, 37.8%, 4.6%, 14.9%)
CIE-LABlab(66.97, 42.05, -24.07)
CIE-LCHlch(66.97, 48.45, 330.21°)
OKLaboklab(73.21% 0.1191 -0.0651)
OKLCHoklch(73.21% 0.136 331.3)
XYZxyz(48.5412, 36.5870, 63.5245)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987CF #87D991
analogous
#BA87D9 #D987CF #D987A6
triadic
#D987CF #CFD987 #87CFD9
tetradic
#D987CF #D9BA87 #87D991 #87A6D9
square
#D987CF #D9BA87 #87D991 #87A6D9
split-complementary
#D987CF #A6D987 #87D9BA
monochromatic
#AE37A0 #CA59BC #D987CF #E8B5E2 #F6E4F4

Accessibility & contrast

On white

2.52
#D987CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#D987CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987CF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987CF#FFFFFF#000000##000000
##D987CF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CD2
Deuteranopia (green-blind)
#9AA7CC
Tritanopia (blue-blind)
#DF8CA2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d987cf;
/* rgb */ color: rgb(217, 135, 207);
/* oklch */ color: oklch(73.2% 0.136 331.3);
Tailwind
colors: {
  custom: {
    50: '#e6abdd',
    500: '#d987cf',
    950: '#000000',
  },
}
SCSS
$custom: #d987cf;
$custom-light: #e6abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d987cf",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 307.317,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73207,
    "c": 0.1357,
    "h": 331.3
  },
  "luminance": 0.36585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D987CF

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

Preview Lab → · Contrast checker → · Palette generator →

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