#D987D2#D987D2

#D987D2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.3% C 0.138 H 330.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#D987D2
RGBrgb(217, 135, 210)
HSLhsl(305, 52%, 69%)
HSVhsv(305, 38%, 85%)
CMYKcmyk(0%, 37.8%, 3.2%, 14.9%)
CIE-LABlab(67.08, 42.58, -25.57)
CIE-LCHlch(67.08, 49.67, 329.01°)
OKLaboklab(73.33% 0.1198 -0.0693)
OKLCHoklch(73.33% 0.138 330)
XYZxyz(48.9114, 36.7351, 65.4745)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987D2 #87D98E
analogous
#B787D9 #D987D2 #D987A9
triadic
#D987D2 #D2D987 #87D2D9
tetradic
#D987D2 #D9B787 #87D98E #87A9D9
square
#D987D2 #D9B787 #87D98E #87A9D9
split-complementary
#D987D2 #A9D987 #87D9B7
monochromatic
#AE37A4 #CA59C1 #D987D2 #E8B5E3 #F6E4F5

Accessibility & contrast

On white

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

On black

8.35
#D987D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987D2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987D2#FFFFFF#000000##000000
##D987D21.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#839CD5
Deuteranopia (green-blind)
#99A7CF
Tritanopia (blue-blind)
#DF8DA3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d987d2;
/* rgb */ color: rgb(217, 135, 210);
/* oklch */ color: oklch(73.3% 0.138 330.0);
Tailwind
colors: {
  custom: {
    50: '#e6abe0',
    500: '#d987d2',
    950: '#000000',
  },
}
SCSS
$custom: #d987d2;
$custom-light: #e6abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d987d2",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 305.122,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73328,
    "c": 0.13842,
    "h": 330
  },
  "luminance": 0.36733
}

Semantic roles & 50–950 ramp

primary
#D987D2
secondary
#D2EAD4
accent
#BF3326
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D987D2

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

Preview Lab → · Contrast checker → · Palette generator →

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