#D877CB#D877CB

#D877CB is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.159 H 332.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D877CB
RGBrgb(216, 119, 203)
HSLhsl(308, 55%, 66%)
HSVhsv(308, 45%, 85%)
CMYKcmyk(0%, 44.9%, 6%, 15.3%)
CIE-LABlab(63.43, 49.32, -27.27)
CIE-LCHlch(63.43, 56.36, 331.06°)
OKLaboklab(70.48% 0.1406 -0.074)
OKLCHoklch(70.48% 0.159 332.2)
XYZxyz(45.6949, 32.1070, 60.2788)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877CB #77D884
analogous
#B477D8 #D877CB #D8779A
triadic
#D877CB #CBD877 #77CBD8
tetradic
#D877CB #D8B477 #77D884 #779AD8
square
#D877CB #D8B477 #77D884 #779AD8
split-complementary
#D877CB #9AD877 #77D8B4
monochromatic
#A52F95 #CA47B9 #D877CB #E6A7DD #F3D6EF

Accessibility & contrast

On white

2.83
#D877CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D877CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877CB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877CB#FFFFFF#000000##000000
##D877CB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#8F9FC8
Tritanopia (blue-blind)
#DF7D98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d877cb;
/* rgb */ color: rgb(216, 119, 203);
/* oklch */ color: oklch(70.5% 0.159 332.2);
Tailwind
colors: {
  custom: {
    50: '#e6a1db',
    500: '#d877cb',
    950: '#000000',
  },
}
SCSS
$custom: #d877cb;
$custom-light: #e6a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d877cb",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 308.041,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70478,
    "c": 0.15887,
    "h": 332.2
  },
  "luminance": 0.32104
}

Semantic roles & 50–950 ramp

primary
#D877CB
secondary
#C5E6CA
accent
#C33823
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D877CB

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

Preview Lab → · Contrast checker → · Palette generator →

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