#D87ECE#D87ECE

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

Color values

HEX#D87ECE
RGBrgb(216, 126, 206)
HSLhsl(307, 54%, 67%)
HSVhsv(307, 42%, 85%)
CMYKcmyk(0%, 41.7%, 4.6%, 15.3%)
CIE-LABlab(64.95, 46.26, -26.62)
CIE-LCHlch(64.95, 53.37, 330.08°)
OKLaboklab(71.65% 0.1311 -0.0722)
OKLCHoklch(71.65% 0.15 331.1)
XYZxyz(46.9199, 33.9793, 62.4678)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87ECE #7ED888
analogous
#B57ED8 #D87ECE #D87EA1
triadic
#D87ECE #CED87E #7ECED8
tetradic
#D87ECE #D8B57E #7ED888 #7EA1D8
square
#D87ECE #D8B57E #7ED888 #7EA1D8
split-complementary
#D87ECE #A1D87E #7ED8B5
monochromatic
#A9339C #CA4FBC #D87ECE #E6ADE0 #F4DCF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87ECE#FFFFFF#000000##000000
##D87ECE1.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)
#7B96D1
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#DF849D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d87ece;
/* rgb */ color: rgb(216, 126, 206);
/* oklch */ color: oklch(71.7% 0.150 331.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5dd',
    500: '#d87ece',
    950: '#000000',
  },
}
SCSS
$custom: #d87ece;
$custom-light: #e6a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ece",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 206
  },
  "hsl": {
    "h": 306.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.7165,
    "c": 0.14963,
    "h": 331.1
  },
  "luminance": 0.33977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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