#D876EB#D876EB

#D876EB is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.8% C 0.190 H 320.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D876EB
RGBrgb(216, 118, 235)
HSLhsl(290, 75%, 69%)
HSVhsv(290, 50%, 92%)
CMYKcmyk(8.1%, 49.8%, 0%, 7.8%)
CIE-LABlab(64.61, 55.61, -43.30)
CIE-LCHlch(64.61, 70.48, 322.09°)
OKLaboklab(71.8% 0.1476 -0.1198)
OKLCHoklch(71.8% 0.19 320.9)
XYZxyz(49.7910, 33.5560, 82.4354)
Luminance0.3355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D876EB #89EB76
analogous
#9E76EB #D876EB #EB76C4
triadic
#D876EB #EBD876 #76EBD8
tetradic
#D876EB #EB9E76 #89EB76 #76C4EB
square
#D876EB #EB9E76 #89EB76 #76C4EB
split-complementary
#D876EB #C4EB76 #76EB9E
monochromatic
#AD1DC9 #C941E3 #D876EB #E7ABF3 #F6E1FB

Accessibility & contrast

On white

2.72
#D876EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D876EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D876EB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D876EB#FFFFFF#000000##000000
##D876EB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#81A0E8
Tritanopia (blue-blind)
#DA86A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d876eb;
/* rgb */ color: rgb(216, 118, 235);
/* oklch */ color: oklch(71.8% 0.190 320.9);
Tailwind
colors: {
  custom: {
    50: '#e6a1f2',
    500: '#d876eb',
    950: '#000000',
  },
}
SCSS
$custom: #d876eb;
$custom-light: #e6a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d876eb",
  "rgb": {
    "r": 216,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 290.256,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71802,
    "c": 0.19007,
    "h": 320.9
  },
  "luminance": 0.33554
}

Semantic roles & 50–950 ramp

primary
#D876EB
secondary
#D3EFCD
accent
#D70F2F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D876EB

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

Preview Lab → · Contrast checker → · Palette generator →

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