#D877FB#D877FB

#D877FB is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 72.8% C 0.204 H 316.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D877FB
RGBrgb(216, 119, 251)
HSLhsl(284, 94%, 73%)
HSVhsv(284, 53%, 98%)
CMYKcmyk(13.9%, 52.6%, 0%, 1.6%)
CIE-LABlab(65.56, 58.24, -50.62)
CIE-LCHlch(65.56, 77.16, 319.00°)
OKLaboklab(72.75% 0.1479 -0.141)
OKLCHoklch(72.75% 0.204 316.4)
XYZxyz(52.3257, 34.7593, 95.2010)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877FB #9AFB77
analogous
#9677FB #D877FB #FB77DC
triadic
#D877FB #FBD877 #77FBD8
tetradic
#D877FB #FB9677 #9AFB77 #77DCFB
square
#D877FB #FB9677 #9AFB77 #77DCFB
split-complementary
#D877FB #DCFB77 #77FB96
monochromatic
#B307F1 #C73CF9 #D877FB #E9B2FD #F6E1FE

Accessibility & contrast

On white

2.64
#D877FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#D877FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877FB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877FB#FFFFFF#000000##000000
##D877FB1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#D68CAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d877fb;
/* rgb */ color: rgb(216, 119, 251);
/* oklch */ color: oklch(72.8% 0.204 316.4);
Tailwind
colors: {
  custom: {
    50: '#e7a2fd',
    500: '#d877fb',
    950: '#000000',
  },
}
SCSS
$custom: #d877fb;
$custom-light: #e7a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d877fb",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 284.091,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.20438,
    "h": 316.4
  },
  "luminance": 0.34758
}

Semantic roles & 50–950 ramp

primary
#D877FB
secondary
#DEF6D5
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D877FB

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

Preview Lab → · Contrast checker → · Palette generator →

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