#D877FE#D877FE

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

Color values

HEX#D877FE
RGBrgb(216, 119, 254)
HSLhsl(283, 99%, 73%)
HSVhsv(283, 53%, 100%)
CMYKcmyk(15%, 53.1%, 0%, 0.4%)
CIE-LABlab(65.71, 58.83, -52.03)
CIE-LCHlch(65.71, 78.54, 318.51°)
OKLaboklab(72.91% 0.1482 -0.1451)
OKLCHoklch(72.91% 0.207 315.6)
XYZxyz(52.8024, 34.9500, 97.7113)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877FE #9DFE77
analogous
#9477FE #D877FE #FE77E0
triadic
#D877FE #FED877 #77FED8
tetradic
#D877FE #FE9477 #9DFE77 #77E0FE
square
#D877FE #FE9477 #9DFE77 #77E0FE
split-complementary
#D877FE #E0FE77 #77FE94
monochromatic
#B302F9 #C73AFE #D877FE #E9B4FE #F6E1FF

Accessibility & contrast

On white

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

On black

7.99
#D877FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877FE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877FE#FFFFFF#000000##000000
##D877FE1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#D68CB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d877fe;
/* rgb */ color: rgb(216, 119, 254);
/* oklch */ color: oklch(72.9% 0.207 315.6);
Tailwind
colors: {
  custom: {
    50: '#e7a2ff',
    500: '#d877fe',
    950: '#000000',
  },
}
SCSS
$custom: #d877fe;
$custom-light: #e7a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d877fe",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 283.111,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72912,
    "c": 0.20741,
    "h": 315.6
  },
  "luminance": 0.34948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D877FE

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

Preview Lab → · Contrast checker → · Palette generator →

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