#D877EB#D877EB

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

Color values

HEX#D877EB
RGBrgb(216, 119, 235)
HSLhsl(290, 74%, 69%)
HSVhsv(290, 49%, 92%)
CMYKcmyk(8.1%, 49.4%, 0%, 7.8%)
CIE-LABlab(64.80, 55.12, -43.01)
CIE-LCHlch(64.80, 69.91, 322.04°)
OKLaboklab(71.94% 0.1462 -0.1189)
OKLCHoklch(71.94% 0.188 320.9)
XYZxyz(49.9094, 33.7928, 82.4748)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877EB #8AEB77
analogous
#9E77EB #D877EB #EB77C4
triadic
#D877EB #EBD877 #77EBD8
tetradic
#D877EB #EB9E77 #8AEB77 #77C4EB
square
#D877EB #EB9E77 #8AEB77 #77C4EB
split-complementary
#D877EB #C4EB77 #77EB9E
monochromatic
#AE1ECA #C942E3 #D877EB #E7ACF3 #F7E2FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D877EB#FFFFFF#000000##000000
##D877EB1.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)
#6496EF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#DA87A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d877eb;
/* rgb */ color: rgb(216, 119, 235);
/* oklch */ color: oklch(71.9% 0.188 320.9);
Tailwind
colors: {
  custom: {
    50: '#e6a1f2',
    500: '#d877eb',
    950: '#000000',
  },
}
SCSS
$custom: #d877eb;
$custom-light: #e6a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d877eb",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 290.172,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71942,
    "c": 0.18848,
    "h": 320.9
  },
  "luminance": 0.33791
}

Semantic roles & 50–950 ramp

primary
#D877EB
secondary
#D4F0CE
accent
#D60F30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D877EB

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

Preview Lab → · Contrast checker → · Palette generator →

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