#D987EA#D987EA

#D987EA is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.4% C 0.162 H 320.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#D987EA
RGBrgb(217, 135, 234)
HSLhsl(290, 70%, 72%)
HSVhsv(290, 42%, 92%)
CMYKcmyk(7.3%, 42.3%, 0%, 8.2%)
CIE-LABlab(68.04, 47.05, -37.38)
CIE-LCHlch(68.04, 60.09, 321.53°)
OKLaboklab(74.36% 0.125 -0.1029)
OKLCHoklch(74.36% 0.162 320.6)
XYZxyz(52.1287, 38.0220, 82.4190)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987EA #98EA87
analogous
#A887EA #D987EA #EA87CA
triadic
#D987EA #EAD987 #87EAD9
tetradic
#D987EA #EAA887 #98EA87 #87CAEA
square
#D987EA #EAA887 #98EA87 #87CAEA
split-complementary
#D987EA #CAEA87 #87EAA8
monochromatic
#B425D2 #C953E1 #D987EA #E9BBF3 #F7E5FA

Accessibility & contrast

On white

2.44
#D987EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#D987EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987EA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987EA#FFFFFF#000000##000000
##D987EA1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#8FA9E7
Tritanopia (blue-blind)
#DB93AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d987ea;
/* rgb */ color: rgb(217, 135, 234);
/* oklch */ color: oklch(74.4% 0.162 320.6);
Tailwind
colors: {
  custom: {
    50: '#e6acf1',
    500: '#d987ea',
    950: '#000000',
  },
}
SCSS
$custom: #d987ea;
$custom-light: #e6acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d987ea",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 289.697,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74363,
    "c": 0.16191,
    "h": 320.6
  },
  "luminance": 0.3802
}

Semantic roles & 50–950 ramp

primary
#D987EA
secondary
#DDF2D9
accent
#D21334
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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