#D877FD#D877FD

#D877FD is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 72.9% C 0.206 H 315.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D877FD
RGBrgb(216, 119, 253)
HSLhsl(283, 97%, 73%)
HSVhsv(283, 53%, 99%)
CMYKcmyk(14.6%, 53%, 0%, 0.8%)
CIE-LABlab(65.66, 58.63, -51.56)
CIE-LCHlch(65.66, 78.08, 318.67°)
OKLaboklab(72.86% 0.1481 -0.1437)
OKLCHoklch(72.86% 0.206 315.9)
XYZxyz(52.6426, 34.8861, 96.8701)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877FD #9CFD77
analogous
#9577FD #D877FD #FD77DF
triadic
#D877FD #FDD877 #77FDD8
tetradic
#D877FD #FD9577 #9CFD77 #77DFFD
square
#D877FD #FD9577 #9CFD77 #77DFFD
split-complementary
#D877FD #DFFD77 #77FD95
monochromatic
#B304F6 #C73BFC #D877FD #E9B3FE #F6E1FF

Accessibility & contrast

On white

2.63
#D877FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D877FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877FD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877FD#FFFFFF#000000##000000
##D877FD1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#D68CAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d877fd;
/* rgb */ color: rgb(216, 119, 253);
/* oklch */ color: oklch(72.9% 0.206 315.9);
Tailwind
colors: {
  custom: {
    50: '#e7a2fe',
    500: '#d877fd',
    950: '#000000',
  },
}
SCSS
$custom: #d877fd;
$custom-light: #e7a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d877fd",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 283.433,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72859,
    "c": 0.2064,
    "h": 315.9
  },
  "luminance": 0.34884
}

Semantic roles & 50–950 ramp

primary
#D877FD
secondary
#DEF7D4
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D877FD

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

Preview Lab → · Contrast checker → · Palette generator →

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