#D877DD#D877DD

#D877DD is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.175 H 325.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D877DD
RGBrgb(216, 119, 221)
HSLhsl(297, 60%, 67%)
HSVhsv(297, 46%, 87%)
CMYKcmyk(2.3%, 46.2%, 0%, 13.3%)
CIE-LABlab(64.17, 52.50, -36.20)
CIE-LCHlch(64.17, 63.78, 325.41°)
OKLaboklab(71.28% 0.1441 -0.0994)
OKLCHoklch(71.28% 0.175 325.4)
XYZxyz(47.9658, 33.0154, 72.2387)
Luminance0.3301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877DD #7CDD77
analogous
#A577DD #D877DD #DD77AF
triadic
#D877DD #DDD877 #77DDD8
tetradic
#D877DD #DDA577 #7CDD77 #77AFDD
square
#D877DD #DDA577 #7CDD77 #77AFDD
split-complementary
#D877DD #AFDD77 #77DDA5
monochromatic
#A82CAE #CA46D1 #D877DD #E6A8E9 #F4D9F5

Accessibility & contrast

On white

2.76
#D877DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D877DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877DD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877DD#FFFFFF#000000##000000
##D877DD1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E0
Deuteranopia (green-blind)
#88A0DA
Tritanopia (blue-blind)
#DC82A0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d877dd;
/* rgb */ color: rgb(216, 119, 221);
/* oklch */ color: oklch(71.3% 0.175 325.4);
Tailwind
colors: {
  custom: {
    50: '#e6a1e8',
    500: '#d877dd',
    950: '#000000',
  },
}
SCSS
$custom: #d877dd;
$custom-light: #e6a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d877dd",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 297.059,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71275,
    "c": 0.17507,
    "h": 325.4
  },
  "luminance": 0.33013
}

Semantic roles & 50–950 ramp

primary
#D877DD
secondary
#C9E8C7
accent
#C81E26
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D877DD

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

Preview Lab → · Contrast checker → · Palette generator →

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