#D987CD#D987CD

#D987CD is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.1% C 0.134 H 332.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D987CD
RGBrgb(217, 135, 205)
HSLhsl(309, 52%, 69%)
HSVhsv(309, 38%, 85%)
CMYKcmyk(0%, 37.8%, 5.5%, 14.9%)
CIE-LABlab(66.89, 41.70, -23.07)
CIE-LCHlch(66.89, 47.66, 331.05°)
OKLaboklab(73.13% 0.1186 -0.0623)
OKLCHoklch(73.13% 0.134 332.3)
XYZxyz(48.2982, 36.4898, 62.2450)
Luminance0.3649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987CD #87D993
analogous
#BC87D9 #D987CD #D987A4
triadic
#D987CD #CDD987 #87CDD9
tetradic
#D987CD #D9BC87 #87D993 #87A4D9
square
#D987CD #D9BC87 #87D993 #87A4D9
split-complementary
#D987CD #A4D987 #87D9BC
monochromatic
#AE379D #CA59BA #D987CD #E8B5E0 #F6E4F4

Accessibility & contrast

On white

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

On black

8.30
#D987CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987CD
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987CD#FFFFFF#000000##000000
##D987CD1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d987cd;
/* rgb */ color: rgb(217, 135, 205);
/* oklch */ color: oklch(73.1% 0.134 332.3);
Tailwind
colors: {
  custom: {
    50: '#e6abdc',
    500: '#d987cd',
    950: '#000000',
  },
}
SCSS
$custom: #d987cd;
$custom-light: #e6abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d987cd",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 308.78,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.13391,
    "h": 332.3
  },
  "luminance": 0.36487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D987CD

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

Preview Lab → · Contrast checker → · Palette generator →

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