#D877E9#D877E9

#D877E9 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.187 H 321.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D877E9
RGBrgb(216, 119, 233)
HSLhsl(291, 72%, 69%)
HSVhsv(291, 49%, 91%)
CMYKcmyk(7.3%, 48.9%, 0%, 8.6%)
CIE-LABlab(64.71, 54.74, -42.04)
CIE-LCHlch(64.71, 69.02, 322.47°)
OKLaboklab(71.84% 0.146 -0.1162)
OKLCHoklch(71.84% 0.187 321.5)
XYZxyz(49.6220, 33.6779, 80.9616)
Luminance0.3368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877E9 #88E977
analogous
#9F77E9 #D877E9 #E977C1
triadic
#D877E9 #E9D877 #77E9D8
tetradic
#D877E9 #E99F77 #88E977 #77C1E9
square
#D877E9 #E99F77 #88E977 #77C1E9
split-complementary
#D877E9 #C1E977 #77E99F
monochromatic
#AD20C6 #C942E0 #D877E9 #E7ACF2 #F6E0FA

Accessibility & contrast

On white

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

On black

7.74
#D877E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877E9
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877E9#FFFFFF#000000##000000
##D877E91.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696ED
Deuteranopia (green-blind)
#83A1E6
Tritanopia (blue-blind)
#DA86A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d877e9;
/* rgb */ color: rgb(216, 119, 233);
/* oklch */ color: oklch(71.8% 0.187 321.5);
Tailwind
colors: {
  custom: {
    50: '#e6a1f0',
    500: '#d877e9',
    950: '#000000',
  },
}
SCSS
$custom: #d877e9;
$custom-light: #e6a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d877e9",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 233
  },
  "hsl": {
    "h": 291.053,
    "s": 72.152,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71844,
    "c": 0.18654,
    "h": 321.5
  },
  "luminance": 0.33676
}

Semantic roles & 50–950 ramp

primary
#D877E9
secondary
#D2EFCD
accent
#D4112E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D877E9

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

Preview Lab → · Contrast checker → · Palette generator →

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