#D87ECC#D87ECC

#D87ECC is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.6% C 0.148 H 332.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D87ECC
RGBrgb(216, 126, 204)
HSLhsl(308, 54%, 67%)
HSVhsv(308, 42%, 85%)
CMYKcmyk(0%, 41.7%, 5.6%, 15.3%)
CIE-LABlab(64.87, 45.91, -25.62)
CIE-LCHlch(64.87, 52.57, 330.83°)
OKLaboklab(71.57% 0.1306 -0.0694)
OKLCHoklch(71.57% 0.148 332)
XYZxyz(46.6784, 33.8828, 61.1964)
Luminance0.3388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87ECC #7ED88A
analogous
#B77ED8 #D87ECC #D87E9F
triadic
#D87ECC #CCD87E #7ECCD8
tetradic
#D87ECC #D8B77E #7ED88A #7E9FD8
square
#D87ECC #D8B77E #7ED88A #7E9FD8
split-complementary
#D87ECC #9FD87E #7ED8B7
monochromatic
#A93399 #CA4FB9 #D87ECC #E6ADDF #F4DCF1

Accessibility & contrast

On white

2.70
#D87ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D87ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87ECC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87ECC#FFFFFF#000000##000000
##D87ECC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CF
Deuteranopia (green-blind)
#94A2C9
Tritanopia (blue-blind)
#DF849C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87ecc;
/* rgb */ color: rgb(216, 126, 204);
/* oklch */ color: oklch(71.6% 0.148 332.0);
Tailwind
colors: {
  custom: {
    50: '#e6a5db',
    500: '#d87ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d87ecc;
$custom-light: #e6a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ecc",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 308,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71568,
    "c": 0.14786,
    "h": 332
  },
  "luminance": 0.3388
}

Semantic roles & 50–950 ramp

primary
#D87ECC
secondary
#CBE7CE
accent
#C13924
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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