#D987DB#D987DB

#D987DB is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.7% C 0.147 H 326.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D987DB
RGBrgb(217, 135, 219)
HSLhsl(299, 54%, 69%)
HSVhsv(299, 38%, 86%)
CMYKcmyk(0.9%, 38.4%, 0%, 14.1%)
CIE-LABlab(67.42, 44.21, -30.04)
CIE-LCHlch(67.42, 53.45, 325.81°)
OKLaboklab(73.7% 0.122 -0.0819)
OKLCHoklch(73.7% 0.147 326.1)
XYZxyz(50.0643, 37.1963, 71.5466)
Luminance0.3719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987DB #89DB87
analogous
#AF87DB #D987DB #DB87B3
triadic
#D987DB #DBD987 #87DBD9
tetradic
#D987DB #DBAF87 #89DB87 #87B3DB
square
#D987DB #DBAF87 #89DB87 #87B3DB
split-complementary
#D987DB #B3DB87 #87DBAF
monochromatic
#AF35B2 #CA58CD #D987DB #E8B6E9 #F7E5F7

Accessibility & contrast

On white

2.49
#D987DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#D987DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987DB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987DB#FFFFFF#000000##000000
##D987DB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDE
Deuteranopia (green-blind)
#95A8D8
Tritanopia (blue-blind)
#DD8FA7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d987db;
/* rgb */ color: rgb(217, 135, 219);
/* oklch */ color: oklch(73.7% 0.147 326.1);
Tailwind
colors: {
  custom: {
    50: '#e6ace6',
    500: '#d987db',
    950: '#000000',
  },
}
SCSS
$custom: #d987db;
$custom-light: #e6ace6;
$custom-dark: #000000;
JSON
{
  "hex": "#d987db",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 298.571,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73702,
    "c": 0.14692,
    "h": 326.1
  },
  "luminance": 0.37194
}

Semantic roles & 50–950 ramp

primary
#D987DB
secondary
#D3EBD3
accent
#C12428
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D987DB

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

Preview Lab → · Contrast checker → · Palette generator →

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