#D876FA#D876FA

#D876FA is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.6% C 0.205 H 316.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#D876FA
RGBrgb(216, 118, 250)
HSLhsl(285, 93%, 72%)
HSVhsv(285, 53%, 98%)
CMYKcmyk(13.6%, 52.8%, 0%, 2%)
CIE-LABlab(65.33, 58.53, -50.45)
CIE-LCHlch(65.33, 77.27, 319.24°)
OKLaboklab(72.57% 0.1492 -0.1405)
OKLCHoklch(72.57% 0.205 316.7)
XYZxyz(52.0501, 34.4597, 94.3335)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D876FA #98FA76
analogous
#9676FA #D876FA #FA76DA
triadic
#D876FA #FAD876 #76FAD8
tetradic
#D876FA #FA9676 #98FA76 #76DAFA
square
#D876FA #FA9676 #98FA76 #76DAFA
split-complementary
#D876FA #DAFA76 #76FA96
monochromatic
#B209ED #C73BF8 #D876FA #E9B1FC #F7E1FE

Accessibility & contrast

On white

2.66
#D876FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#D876FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D876FA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D876FA#FFFFFF#000000##000000
##D876FA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#D78AAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d876fa;
/* rgb */ color: rgb(216, 118, 250);
/* oklch */ color: oklch(72.6% 0.205 316.7);
Tailwind
colors: {
  custom: {
    50: '#e7a1fc',
    500: '#d876fa',
    950: '#000000',
  },
}
SCSS
$custom: #d876fa;
$custom-light: #e7a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d876fa",
  "rgb": {
    "r": 216,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 284.545,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72565,
    "c": 0.2049,
    "h": 316.7
  },
  "luminance": 0.34458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D876FA

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

Preview Lab → · Contrast checker → · Palette generator →

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