#D87CD9#D87CD9

#D87CD9 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.163 H 326.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D87CD9
RGBrgb(216, 124, 217)
HSLhsl(299, 55%, 67%)
HSVhsv(299, 43%, 85%)
CMYKcmyk(0.5%, 42.9%, 0%, 14.9%)
CIE-LABlab(64.98, 49.24, -32.71)
CIE-LCHlch(64.98, 59.12, 326.40°)
OKLaboklab(71.82% 0.1363 -0.0895)
OKLCHoklch(71.82% 0.163 326.7)
XYZxyz(48.0500, 34.0263, 69.6689)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CD9 #7DD97C
analogous
#AA7CD9 #D87CD9 #D97CAC
triadic
#D87CD9 #D9D87C #7CD9D8
tetradic
#D87CD9 #D9AA7C #7DD97C #7CACD9
square
#D87CD9 #D9AA7C #7DD97C #7CACD9
split-complementary
#D87CD9 #ACD97C #7CD9AA
monochromatic
#A831A9 #CA4DCB #D87CD9 #E6ABE7 #F4DBF5

Accessibility & contrast

On white

2.69
#D87CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#D87CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CD9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CD9#FFFFFF#000000##000000
##D87CD91.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DC
Deuteranopia (green-blind)
#8DA2D6
Tritanopia (blue-blind)
#DD85A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d87cd9;
/* rgb */ color: rgb(216, 124, 217);
/* oklch */ color: oklch(71.8% 0.163 326.7);
Tailwind
colors: {
  custom: {
    50: '#e6a4e5',
    500: '#d87cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d87cd9;
$custom-light: #e6a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cd9",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 299.355,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71823,
    "c": 0.16304,
    "h": 326.7
  },
  "luminance": 0.34024
}

Semantic roles & 50–950 ramp

primary
#D87CD9
secondary
#CAE7CA
accent
#C32325
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F15
muted
#847F84

Preview Lab

Preview with #D87CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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