#D87ECA#D87ECA

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

Color values

HEX#D87ECA
RGBrgb(216, 126, 202)
HSLhsl(309, 54%, 67%)
HSVhsv(309, 42%, 85%)
CMYKcmyk(0%, 41.7%, 6.5%, 15.3%)
CIE-LABlab(64.79, 45.56, -24.62)
CIE-LCHlch(64.79, 51.79, 331.62°)
OKLaboklab(71.49% 0.1301 -0.0666)
OKLCHoklch(71.49% 0.146 332.9)
XYZxyz(46.4401, 33.7874, 59.9412)
Luminance0.3378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87ECA #7ED88C
analogous
#B97ED8 #D87ECA #D87E9D
triadic
#D87ECA #CAD87E #7ECAD8
tetradic
#D87ECA #D8B97E #7ED88C #7E9DD8
square
#D87ECA #D8B97E #7ED88C #7E9DD8
split-complementary
#D87ECA #9DD87E #7ED8B9
monochromatic
#A93396 #CA4FB7 #D87ECA #E6ADDD #F4DCF1

Accessibility & contrast

On white

2.71
#D87ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D87ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87ECA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87ECA#FFFFFF#000000##000000
##D87ECA1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d87eca;
/* rgb */ color: rgb(216, 126, 202);
/* oklch */ color: oklch(71.5% 0.146 332.9);
Tailwind
colors: {
  custom: {
    50: '#e6a5da',
    500: '#d87eca',
    950: '#000000',
  },
}
SCSS
$custom: #d87eca;
$custom-light: #e6a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#d87eca",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 309.333,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71486,
    "c": 0.14613,
    "h": 332.9
  },
  "luminance": 0.33785
}

Semantic roles & 50–950 ramp

primary
#D87ECA
secondary
#CBE7CF
accent
#C13D24
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D87ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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