#D877EF#D877EF

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

Color values

HEX#D877EF
RGBrgb(216, 119, 239)
HSLhsl(289, 79%, 70%)
HSVhsv(289, 50%, 94%)
CMYKcmyk(9.6%, 50.2%, 0%, 6.3%)
CIE-LABlab(64.98, 55.88, -44.93)
CIE-LCHlch(64.98, 71.70, 321.20°)
OKLaboklab(72.14% 0.1467 -0.1245)
OKLCHoklch(72.14% 0.192 319.7)
XYZxyz(50.4938, 34.0265, 85.5526)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877EF #8EEF77
analogous
#9C77EF #D877EF #EF77CA
triadic
#D877EF #EFD877 #77EFD8
tetradic
#D877EF #EF9C77 #8EEF77 #77CAEF
square
#D877EF #EF9C77 #8EEF77 #77CAEF
split-complementary
#D877EF #CAEF77 #77EF9C
monochromatic
#AF19D3 #C840E9 #D877EF #E8AEF5 #F7E4FC

Accessibility & contrast

On white

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

On black

7.81
#D877EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877EF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877EF#FFFFFF#000000##000000
##D877EF1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#80A1EC
Tritanopia (blue-blind)
#D988A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d877ef;
/* rgb */ color: rgb(216, 119, 239);
/* oklch */ color: oklch(72.1% 0.192 319.7);
Tailwind
colors: {
  custom: {
    50: '#e6a1f4',
    500: '#d877ef',
    950: '#000000',
  },
}
SCSS
$custom: #d877ef;
$custom-light: #e6a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d877ef",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 288.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7214,
    "c": 0.19242,
    "h": 319.7
  },
  "luminance": 0.34025
}

Semantic roles & 50–950 ramp

primary
#D877EF
secondary
#D7F2D0
accent
#DB0A32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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