#D877DF#D877DF

#D877DF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.4% C 0.177 H 324.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D877DF
RGBrgb(216, 119, 223)
HSLhsl(296, 62%, 67%)
HSVhsv(296, 47%, 87%)
CMYKcmyk(3.1%, 46.6%, 0%, 12.5%)
CIE-LABlab(64.26, 52.87, -37.18)
CIE-LCHlch(64.26, 64.64, 324.88°)
OKLaboklab(71.37% 0.1445 -0.1022)
OKLCHoklch(71.37% 0.177 324.7)
XYZxyz(48.2338, 33.1226, 73.6504)
Luminance0.3312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877DF #7EDF77
analogous
#A477DF #D877DF #DF77B2
triadic
#D877DF #DFD877 #77DFD8
tetradic
#D877DF #DFA477 #7EDF77 #77B2DF
square
#D877DF #DFA477 #7EDF77 #77B2DF
split-complementary
#D877DF #B2DF77 #77DFA4
monochromatic
#A92AB2 #CA45D3 #D877DF #E6A9EB #F4DAF6

Accessibility & contrast

On white

2.75
#D877DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D877DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877DF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877DF#FFFFFF#000000##000000
##D877DF1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E3
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#DC83A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d877df;
/* rgb */ color: rgb(216, 119, 223);
/* oklch */ color: oklch(71.4% 0.177 324.7);
Tailwind
colors: {
  custom: {
    50: '#e6a1e9',
    500: '#d877df',
    950: '#000000',
  },
}
SCSS
$custom: #d877df;
$custom-light: #e6a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d877df",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 295.962,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71367,
    "c": 0.17695,
    "h": 324.7
  },
  "luminance": 0.3312
}

Semantic roles & 50–950 ramp

primary
#D877DF
secondary
#CBE9C8
accent
#CA1C28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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