#D877E7#D877E7

#D877E7 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.7% C 0.185 H 322.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D877E7
RGBrgb(216, 119, 231)
HSLhsl(292, 70%, 69%)
HSVhsv(292, 48%, 91%)
CMYKcmyk(6.5%, 48.5%, 0%, 9.4%)
CIE-LABlab(64.62, 54.36, -41.08)
CIE-LCHlch(64.62, 68.13, 322.92°)
OKLaboklab(71.75% 0.1457 -0.1134)
OKLCHoklch(71.75% 0.185 322.1)
XYZxyz(49.3380, 33.5642, 79.4655)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877E7 #86E777
analogous
#A077E7 #D877E7 #E777BE
triadic
#D877E7 #E7D877 #77E7D8
tetradic
#D877E7 #E7A077 #86E777 #77BEE7
square
#D877E7 #E7A077 #86E777 #77BEE7
split-complementary
#D877E7 #BEE777 #77E7A0
monochromatic
#AC22C1 #C943DE #D877E7 #E7ABF0 #F6DFF9

Accessibility & contrast

On white

2.72
#D877E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D877E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877E7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877E7#FFFFFF#000000##000000
##D877E71.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EB
Deuteranopia (green-blind)
#83A1E4
Tritanopia (blue-blind)
#DB85A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d877e7;
/* rgb */ color: rgb(216, 119, 231);
/* oklch */ color: oklch(71.7% 0.185 322.1);
Tailwind
colors: {
  custom: {
    50: '#e6a1ef',
    500: '#d877e7',
    950: '#000000',
  },
}
SCSS
$custom: #d877e7;
$custom-light: #e6a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d877e7",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 291.964,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71747,
    "c": 0.1846,
    "h": 322.1
  },
  "luminance": 0.33562
}

Semantic roles & 50–950 ramp

primary
#D877E7
secondary
#D1EECC
accent
#D2142D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D877E7

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

Preview Lab → · Contrast checker → · Palette generator →

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