#D877FF#D877FF

#D877FF is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 73.0% C 0.208 H 315.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D877FF
RGBrgb(216, 119, 255)
HSLhsl(283, 100%, 73%)
HSVhsv(283, 53%, 100%)
CMYKcmyk(15.3%, 53.3%, 0%, 0%)
CIE-LABlab(65.76, 59.03, -52.50)
CIE-LCHlch(65.76, 79.00, 318.35°)
OKLaboklab(72.97% 0.1483 -0.1465)
OKLCHoklch(72.97% 0.208 315.3)
XYZxyz(52.9629, 35.0142, 98.5568)
Luminance0.3501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877FF #9EFF77
analogous
#9477FF #D877FF #FF77E2
triadic
#D877FF #FFD877 #77FFD8
tetradic
#D877FF #FF9477 #9EFF77 #77E2FF
square
#D877FF #FF9477 #9EFF77 #77E2FF
split-complementary
#D877FF #E2FF77 #77FF94
monochromatic
#B300FC #C63AFF #D877FF #EAB4FF #F6E0FF

Accessibility & contrast

On white

2.62
#D877FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#D877FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877FF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877FF#FFFFFF#000000##000000
##D877FF1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#569AFF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#D68DB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d877ff;
/* rgb */ color: rgb(216, 119, 255);
/* oklch */ color: oklch(73.0% 0.208 315.3);
Tailwind
colors: {
  custom: {
    50: '#e7a2ff',
    500: '#d877ff',
    950: '#000000',
  },
}
SCSS
$custom: #d877ff;
$custom-light: #e7a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d877ff",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 282.794,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.20842,
    "h": 315.3
  },
  "luminance": 0.35013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D877FF

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

Preview Lab → · Contrast checker → · Palette generator →

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