#D877CD#D877CD

#D877CD is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.161 H 331.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D877CD
RGBrgb(216, 119, 205)
HSLhsl(307, 55%, 66%)
HSVhsv(307, 45%, 85%)
CMYKcmyk(0%, 44.9%, 5.1%, 15.3%)
CIE-LABlab(63.51, 49.66, -28.27)
CIE-LCHlch(63.51, 57.15, 330.34°)
OKLaboklab(70.56% 0.141 -0.0768)
OKLCHoklch(70.56% 0.161 331.4)
XYZxyz(45.9348, 32.2030, 61.5421)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877CD #77D882
analogous
#B277D8 #D877CD #D8779C
triadic
#D877CD #CDD877 #77CDD8
tetradic
#D877CD #D8B277 #77D882 #779CD8
square
#D877CD #D8B277 #77D882 #779CD8
split-complementary
#D877CD #9CD877 #77D8B2
monochromatic
#A52F98 #CA47BC #D877CD #E6A7DE #F3D6F0

Accessibility & contrast

On white

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

On black

7.44
#D877CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877CD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877CD#FFFFFF#000000##000000
##D877CD1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491D0
Deuteranopia (green-blind)
#8E9FCA
Tritanopia (blue-blind)
#DF7E99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d877cd;
/* rgb */ color: rgb(216, 119, 205);
/* oklch */ color: oklch(70.6% 0.161 331.4);
Tailwind
colors: {
  custom: {
    50: '#e6a1dc',
    500: '#d877cd',
    950: '#000000',
  },
}
SCSS
$custom: #d877cd;
$custom-light: #e6a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d877cd",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 306.804,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70563,
    "c": 0.16059,
    "h": 331.4
  },
  "luminance": 0.322
}

Semantic roles & 50–950 ramp

primary
#D877CD
secondary
#C5E6C9
accent
#C33523
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D877CD

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

Preview Lab → · Contrast checker → · Palette generator →

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