#D87ECB#D87ECB

#D87ECB is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.5% C 0.147 H 332.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D87ECB
RGBrgb(216, 126, 203)
HSLhsl(309, 54%, 67%)
HSVhsv(309, 42%, 85%)
CMYKcmyk(0%, 41.7%, 6%, 15.3%)
CIE-LABlab(64.83, 45.74, -25.12)
CIE-LCHlch(64.83, 52.18, 331.22°)
OKLaboklab(71.53% 0.1303 -0.068)
OKLCHoklch(71.53% 0.147 332.5)
XYZxyz(46.5589, 33.8350, 60.5667)
Luminance0.3383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87ECB #7ED88B
analogous
#B87ED8 #D87ECB #D87E9E
triadic
#D87ECB #CBD87E #7ECBD8
tetradic
#D87ECB #D8B87E #7ED88B #7E9ED8
square
#D87ECB #D8B87E #7ED88B #7E9ED8
split-complementary
#D87ECB #9ED87E #7ED8B8
monochromatic
#A93398 #CA4FB8 #D87ECB #E6ADDE #F4DCF1

Accessibility & contrast

On white

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

On black

7.77
#D87ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87ECB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87ECB#FFFFFF#000000##000000
##D87ECB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CE
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#DF839B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87ecb;
/* rgb */ color: rgb(216, 126, 203);
/* oklch */ color: oklch(71.5% 0.147 332.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5db',
    500: '#d87ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d87ecb;
$custom-light: #e6a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ecb",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 308.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71527,
    "c": 0.14699,
    "h": 332.5
  },
  "luminance": 0.33832
}

Semantic roles & 50–950 ramp

primary
#D87ECB
secondary
#CBE7CF
accent
#C13B24
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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