#D877F9#D877F9

#D877F9 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.6% C 0.202 H 316.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D877F9
RGBrgb(216, 119, 249)
HSLhsl(285, 92%, 72%)
HSVhsv(285, 52%, 98%)
CMYKcmyk(13.3%, 52.2%, 0%, 2.4%)
CIE-LABlab(65.46, 57.84, -49.68)
CIE-LCHlch(65.46, 76.25, 319.34°)
OKLaboklab(72.65% 0.1478 -0.1383)
OKLCHoklch(72.65% 0.202 316.9)
XYZxyz(52.0121, 34.6339, 93.5494)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877F9 #98F977
analogous
#9777F9 #D877F9 #F977D9
triadic
#D877F9 #F9D877 #77F9D8
tetradic
#D877F9 #F99777 #98F977 #77D9F9
square
#D877F9 #F99777 #98F977 #77D9F9
split-complementary
#D877F9 #D9F977 #77F997
monochromatic
#B20AEB #C73CF6 #D877F9 #E9B2FC #F7E2FE

Accessibility & contrast

On white

2.65
#D877F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D877F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877F9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877F9#FFFFFF#000000##000000
##D877F91.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#D78BAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d877f9;
/* rgb */ color: rgb(216, 119, 249);
/* oklch */ color: oklch(72.6% 0.202 316.9);
Tailwind
colors: {
  custom: {
    50: '#e6a2fc',
    500: '#d877f9',
    950: '#000000',
  },
}
SCSS
$custom: #d877f9;
$custom-light: #e6a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d877f9",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 284.769,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72649,
    "c": 0.20238,
    "h": 316.9
  },
  "luminance": 0.34632
}

Semantic roles & 50–950 ramp

primary
#D877F9
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D877F9

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

Preview Lab → · Contrast checker → · Palette generator →

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