#D877C8#D877C8

#D877C8 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.156 H 333.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D877C8
RGBrgb(216, 119, 200)
HSLhsl(310, 55%, 66%)
HSVhsv(310, 45%, 85%)
CMYKcmyk(0%, 44.9%, 7.4%, 15.3%)
CIE-LABlab(63.31, 48.81, -25.76)
CIE-LCHlch(63.31, 55.19, 332.17°)
OKLaboklab(70.35% 0.1399 -0.0697)
OKLCHoklch(70.35% 0.156 333.5)
XYZxyz(45.3409, 31.9654, 58.4141)
Luminance0.3196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877C8 #77D887
analogous
#B777D8 #D877C8 #D87797
triadic
#D877C8 #C8D877 #77C8D8
tetradic
#D877C8 #D8B777 #77D887 #7797D8
square
#D877C8 #D8B777 #77D887 #7797D8
split-complementary
#D877C8 #97D877 #77D8B7
monochromatic
#A52F92 #CA47B5 #D877C8 #E6A7DB #F3D6EE

Accessibility & contrast

On white

2.84
#D877C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D877C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877C8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877C8#FFFFFF#000000##000000
##D877C81.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7690CB
Deuteranopia (green-blind)
#909EC5
Tritanopia (blue-blind)
#E07C96
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d877c8;
/* rgb */ color: rgb(216, 119, 200);
/* oklch */ color: oklch(70.4% 0.156 333.5);
Tailwind
colors: {
  custom: {
    50: '#e6a1d9',
    500: '#d877c8',
    950: '#000000',
  },
}
SCSS
$custom: #d877c8;
$custom-light: #e6a1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d877c8",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 309.897,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70353,
    "c": 0.15632,
    "h": 333.5
  },
  "luminance": 0.31963
}

Semantic roles & 50–950 ramp

primary
#D877C8
secondary
#C5E6CB
accent
#C33D23
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D877C8

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

Preview Lab → · Contrast checker → · Palette generator →

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