#D876EA#D876EA

#D876EA is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.8% C 0.189 H 321.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D876EA
RGBrgb(216, 118, 234)
HSLhsl(291, 73%, 69%)
HSVhsv(291, 50%, 92%)
CMYKcmyk(7.7%, 49.6%, 0%, 8.2%)
CIE-LABlab(64.56, 55.42, -42.82)
CIE-LCHlch(64.56, 70.04, 322.31°)
OKLaboklab(71.75% 0.1474 -0.1184)
OKLCHoklch(71.75% 0.189 321.2)
XYZxyz(49.6469, 33.4984, 81.6766)
Luminance0.3350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D876EA #88EA76
analogous
#9E76EA #D876EA #EA76C2
triadic
#D876EA #EAD876 #76EAD8
tetradic
#D876EA #EA9E76 #88EA76 #76C2EA
square
#D876EA #EA9E76 #88EA76 #76C2EA
split-complementary
#D876EA #C2EA76 #76EA9E
monochromatic
#AD1FC7 #C941E2 #D876EA #E7ABF2 #F6E0FA

Accessibility & contrast

On white

2.73
#D876EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D876EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D876EA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D876EA#FFFFFF#000000##000000
##D876EA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#DA85A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d876ea;
/* rgb */ color: rgb(216, 118, 234);
/* oklch */ color: oklch(71.8% 0.189 321.2);
Tailwind
colors: {
  custom: {
    50: '#e6a1f1',
    500: '#d876ea',
    950: '#000000',
  },
}
SCSS
$custom: #d876ea;
$custom-light: #e6a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d876ea",
  "rgb": {
    "r": 216,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 290.69,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71753,
    "c": 0.1891,
    "h": 321.2
  },
  "luminance": 0.33496
}

Semantic roles & 50–950 ramp

primary
#D876EA
secondary
#D2EFCD
accent
#D6102F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D876EA

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

Preview Lab → · Contrast checker → · Palette generator →

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