#D877D2#D877D2

#D877D2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.165 H 329.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D877D2
RGBrgb(216, 119, 210)
HSLhsl(304, 55%, 66%)
HSVhsv(304, 45%, 85%)
CMYKcmyk(0%, 44.9%, 2.8%, 15.3%)
CIE-LABlab(63.71, 50.53, -30.77)
CIE-LCHlch(63.71, 59.16, 328.66°)
OKLaboklab(70.78% 0.1421 -0.0839)
OKLCHoklch(70.78% 0.165 329.4)
XYZxyz(46.5480, 32.4482, 64.7716)
Luminance0.3245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877D2 #77D87D
analogous
#AD77D8 #D877D2 #D877A1
triadic
#D877D2 #D2D877 #77D2D8
tetradic
#D877D2 #D8AD77 #77D87D #77A1D8
square
#D877D2 #D8AD77 #77D87D #77A1D8
split-complementary
#D877D2 #A1D877 #77D8AD
monochromatic
#A52F9E #CA47C2 #D877D2 #E6A7E2 #F3D6F1

Accessibility & contrast

On white

2.80
#D877D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D877D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877D2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877D2#FFFFFF#000000##000000
##D877D21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7292D5
Deuteranopia (green-blind)
#8C9FCF
Tritanopia (blue-blind)
#DE7F9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d877d2;
/* rgb */ color: rgb(216, 119, 210);
/* oklch */ color: oklch(70.8% 0.165 329.4);
Tailwind
colors: {
  custom: {
    50: '#e6a1e0',
    500: '#d877d2',
    950: '#000000',
  },
}
SCSS
$custom: #d877d2;
$custom-light: #e6a1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d877d2",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 303.711,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.16499,
    "h": 329.4
  },
  "luminance": 0.32446
}

Semantic roles & 50–950 ramp

primary
#D877D2
secondary
#C5E6C7
accent
#C32C23
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D877D2

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

Preview Lab → · Contrast checker → · Palette generator →

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