#D876EC#D876EC

#D876EC is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.191 H 320.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D876EC
RGBrgb(216, 118, 236)
HSLhsl(290, 76%, 69%)
HSVhsv(290, 50%, 93%)
CMYKcmyk(8.5%, 50%, 0%, 7.5%)
CIE-LABlab(64.66, 55.80, -43.78)
CIE-LCHlch(64.66, 70.93, 321.88°)
OKLaboklab(71.85% 0.1477 -0.1212)
OKLCHoklch(71.85% 0.191 320.6)
XYZxyz(49.9359, 33.6140, 83.1984)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D876EC #8AEC76
analogous
#9D76EC #D876EC #EC76C5
triadic
#D876EC #ECD876 #76ECD8
tetradic
#D876EC #EC9D76 #8AEC76 #76C5EC
square
#D876EC #EC9D76 #8AEC76 #76C5EC
split-complementary
#D876EC #C5EC76 #76EC9D
monochromatic
#AE1CCB #C940E5 #D876EC #E7ACF3 #F7E1FB

Accessibility & contrast

On white

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

On black

7.72
#D876EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D876EC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D876EC#FFFFFF#000000##000000
##D876EC1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#DA86A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d876ec;
/* rgb */ color: rgb(216, 118, 236);
/* oklch */ color: oklch(71.9% 0.191 320.6);
Tailwind
colors: {
  custom: {
    50: '#e6a1f2',
    500: '#d876ec',
    950: '#000000',
  },
}
SCSS
$custom: #d876ec;
$custom-light: #e6a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d876ec",
  "rgb": {
    "r": 216,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 289.831,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71851,
    "c": 0.19105,
    "h": 320.6
  },
  "luminance": 0.33612
}

Semantic roles & 50–950 ramp

primary
#D876EC
secondary
#D4F0CE
accent
#D80E30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D876EC

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

Preview Lab → · Contrast checker → · Palette generator →

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