#D876EF#D876EF

#D876EF is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.0% C 0.194 H 319.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D876EF
RGBrgb(216, 118, 239)
HSLhsl(289, 79%, 70%)
HSVhsv(289, 51%, 94%)
CMYKcmyk(9.6%, 50.6%, 0%, 6.3%)
CIE-LABlab(64.80, 56.38, -45.22)
CIE-LCHlch(64.80, 72.27, 321.27°)
OKLaboklab(72% 0.148 -0.1253)
OKLCHoklch(72% 0.194 319.7)
XYZxyz(50.3754, 33.7898, 85.5131)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D876EF #8DEF76
analogous
#9B76EF #D876EF #EF76CA
triadic
#D876EF #EFD876 #76EFD8
tetradic
#D876EF #EF9B76 #8DEF76 #76CAEF
square
#D876EF #EF9B76 #8DEF76 #76CAEF
split-complementary
#D876EF #CAEF76 #76EF9B
monochromatic
#AF19D2 #C83FE9 #D876EF #E8ADF5 #F7E4FC

Accessibility & contrast

On white

2.71
#D876EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D876EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D876EF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D876EF#FFFFFF#000000##000000
##D876EF1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#D987A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d876ef;
/* rgb */ color: rgb(216, 118, 239);
/* oklch */ color: oklch(72.0% 0.194 319.7);
Tailwind
colors: {
  custom: {
    50: '#e6a1f4',
    500: '#d876ef',
    950: '#000000',
  },
}
SCSS
$custom: #d876ef;
$custom-light: #e6a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d876ef",
  "rgb": {
    "r": 216,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 288.595,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.72001,
    "c": 0.19398,
    "h": 319.7
  },
  "luminance": 0.33788
}

Semantic roles & 50–950 ramp

primary
#D876EF
secondary
#D6F1CF
accent
#DB0A32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D876EF

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

Preview Lab → · Contrast checker → · Palette generator →

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