#D877CA#D877CA

#D877CA is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.4% C 0.158 H 332.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D877CA
RGBrgb(216, 119, 202)
HSLhsl(309, 55%, 66%)
HSVhsv(309, 45%, 85%)
CMYKcmyk(0%, 44.9%, 6.5%, 15.3%)
CIE-LABlab(63.39, 49.15, -26.77)
CIE-LCHlch(63.39, 55.96, 331.42°)
OKLaboklab(70.44% 0.1404 -0.0726)
OKLCHoklch(70.44% 0.158 332.7)
XYZxyz(45.5761, 32.0595, 59.6532)
Luminance0.3206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877CA #77D885
analogous
#B577D8 #D877CA #D87799
triadic
#D877CA #CAD877 #77CAD8
tetradic
#D877CA #D8B577 #77D885 #7799D8
square
#D877CA #D8B577 #77D885 #7799D8
split-complementary
#D877CA #99D877 #77D8B5
monochromatic
#A52F94 #CA47B7 #D877CA #E6A7DD #F3D6EF

Accessibility & contrast

On white

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

On black

7.41
#D877CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877CA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877CA#FFFFFF#000000##000000
##D877CA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8F9FC7
Tritanopia (blue-blind)
#E07D97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d877ca;
/* rgb */ color: rgb(216, 119, 202);
/* oklch */ color: oklch(70.4% 0.158 332.7);
Tailwind
colors: {
  custom: {
    50: '#e6a1da',
    500: '#d877ca',
    950: '#000000',
  },
}
SCSS
$custom: #d877ca;
$custom-light: #e6a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d877ca",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 308.66,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.15801,
    "h": 332.7
  },
  "luminance": 0.32057
}

Semantic roles & 50–950 ramp

primary
#D877CA
secondary
#C5E6CA
accent
#C33A23
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D877CA

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

Preview Lab → · Contrast checker → · Palette generator →

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