#D877CF#D877CF

#D877CF is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.162 H 330.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D877CF
RGBrgb(216, 119, 207)
HSLhsl(306, 55%, 66%)
HSVhsv(306, 45%, 85%)
CMYKcmyk(0%, 44.9%, 4.2%, 15.3%)
CIE-LABlab(63.59, 50.01, -29.28)
CIE-LCHlch(63.59, 57.95, 329.65°)
OKLaboklab(70.65% 0.1415 -0.0796)
OKLCHoklch(70.65% 0.162 330.6)
XYZxyz(46.1777, 32.3001, 62.8216)
Luminance0.3230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877CF #77D880
analogous
#B077D8 #D877CF #D8779E
triadic
#D877CF #CFD877 #77CFD8
tetradic
#D877CF #D8B077 #77D880 #779ED8
square
#D877CF #D8B077 #77D880 #779ED8
split-complementary
#D877CF #9ED877 #77D8B0
monochromatic
#A52F9A #CA47BE #D877CF #E6A7E0 #F3D6F1

Accessibility & contrast

On white

2.82
#D877CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D877CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877CF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877CF#FFFFFF#000000##000000
##D877CF1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7392D2
Deuteranopia (green-blind)
#8E9FCC
Tritanopia (blue-blind)
#DF7E99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d877cf;
/* rgb */ color: rgb(216, 119, 207);
/* oklch */ color: oklch(70.6% 0.162 330.6);
Tailwind
colors: {
  custom: {
    50: '#e6a1de',
    500: '#d877cf',
    950: '#000000',
  },
}
SCSS
$custom: #d877cf;
$custom-light: #e6a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#d877cf",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 305.567,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70649,
    "c": 0.16233,
    "h": 330.6
  },
  "luminance": 0.32298
}

Semantic roles & 50–950 ramp

primary
#D877CF
secondary
#C5E6C8
accent
#C33123
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D877CF

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

Preview Lab → · Contrast checker → · Palette generator →

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