#D877EA#D877EA

#D877EA is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.9% C 0.188 H 321.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D877EA
RGBrgb(216, 119, 234)
HSLhsl(291, 73%, 69%)
HSVhsv(291, 49%, 92%)
CMYKcmyk(7.7%, 49.1%, 0%, 8.2%)
CIE-LABlab(64.75, 54.93, -42.52)
CIE-LCHlch(64.75, 69.46, 322.25°)
OKLaboklab(71.89% 0.1461 -0.1176)
OKLCHoklch(71.89% 0.188 321.2)
XYZxyz(49.7653, 33.7352, 81.7161)
Luminance0.3373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877EA #89EA77
analogous
#9F77EA #D877EA #EA77C2
triadic
#D877EA #EAD877 #77EAD8
tetradic
#D877EA #EA9F77 #89EA77 #77C2EA
square
#D877EA #EA9F77 #89EA77 #77C2EA
split-complementary
#D877EA #C2EA77 #77EA9F
monochromatic
#AD1FC8 #C942E2 #D877EA #E7ACF2 #F6E1FA

Accessibility & contrast

On white

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

On black

7.75
#D877EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877EA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877EA#FFFFFF#000000##000000
##D877EA1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#DA86A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d877ea;
/* rgb */ color: rgb(216, 119, 234);
/* oklch */ color: oklch(71.9% 0.188 321.2);
Tailwind
colors: {
  custom: {
    50: '#e6a1f1',
    500: '#d877ea',
    950: '#000000',
  },
}
SCSS
$custom: #d877ea;
$custom-light: #e6a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d877ea",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 290.609,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71893,
    "c": 0.18751,
    "h": 321.2
  },
  "luminance": 0.33733
}

Semantic roles & 50–950 ramp

primary
#D877EA
secondary
#D3EFCE
accent
#D5102F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D877EA

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

Preview Lab → · Contrast checker → · Palette generator →

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