#D877EE#D877EE

#D877EE is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.1% C 0.191 H 320.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D877EE
RGBrgb(216, 119, 238)
HSLhsl(289, 78%, 70%)
HSVhsv(289, 50%, 93%)
CMYKcmyk(9.2%, 50%, 0%, 6.7%)
CIE-LABlab(64.94, 55.69, -44.45)
CIE-LCHlch(64.94, 71.25, 321.41°)
OKLaboklab(72.09% 0.1466 -0.1231)
OKLCHoklch(72.09% 0.191 320)
XYZxyz(50.3464, 33.9676, 84.7767)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877EE #8DEE77
analogous
#9D77EE #D877EE #EE77C8
triadic
#D877EE #EED877 #77EED8
tetradic
#D877EE #EE9D77 #8DEE77 #77C8EE
square
#D877EE #EE9D77 #8DEE77 #77C8EE
split-complementary
#D877EE #C8EE77 #77EE9D
monochromatic
#AF1AD1 #C841E7 #D877EE #E8ADF5 #F7E4FC

Accessibility & contrast

On white

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

On black

7.79
#D877EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877EE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877EE#FFFFFF#000000##000000
##D877EE1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#D987A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d877ee;
/* rgb */ color: rgb(216, 119, 238);
/* oklch */ color: oklch(72.1% 0.191 320.0);
Tailwind
colors: {
  custom: {
    50: '#e6a1f4',
    500: '#d877ee',
    950: '#000000',
  },
}
SCSS
$custom: #d877ee;
$custom-light: #e6a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d877ee",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 288.908,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.7209,
    "c": 0.19143,
    "h": 320
  },
  "luminance": 0.33966
}

Semantic roles & 50–950 ramp

primary
#D877EE
secondary
#D6F1D0
accent
#DA0B32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D877EE

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

Preview Lab → · Contrast checker → · Palette generator →

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