#D976EA#D976EA

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

Color values

HEX#D976EA
RGBrgb(217, 118, 234)
HSLhsl(291, 73%, 69%)
HSVhsv(291, 50%, 92%)
CMYKcmyk(7.3%, 49.6%, 0%, 8.2%)
CIE-LABlab(64.68, 55.70, -42.62)
CIE-LCHlch(64.68, 70.13, 322.57°)
OKLaboklab(71.87% 0.1486 -0.1178)
OKLCHoklch(71.87% 0.19 321.6)
XYZxyz(49.9433, 33.6512, 81.6905)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976EA #87EA76
analogous
#9F76EA #D976EA #EA76C1
triadic
#D976EA #EAD976 #76EAD9
tetradic
#D976EA #EA9F76 #87EA76 #76C1EA
square
#D976EA #EA9F76 #87EA76 #76C1EA
split-complementary
#D976EA #C1EA76 #76EA9F
monochromatic
#AE1FC7 #CA41E2 #D976EA #E8ABF2 #F6E0FA

Accessibility & contrast

On white

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

On black

7.73
#D976EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976EA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976EA#FFFFFF#000000##000000
##D976EA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#DB85A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d976ea;
/* rgb */ color: rgb(217, 118, 234);
/* oklch */ color: oklch(71.9% 0.190 321.6);
Tailwind
colors: {
  custom: {
    50: '#e7a1f1',
    500: '#d976ea',
    950: '#000000',
  },
}
SCSS
$custom: #d976ea;
$custom-light: #e7a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d976ea",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 291.207,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71869,
    "c": 0.18962,
    "h": 321.6
  },
  "luminance": 0.33649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D976EA

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

Preview Lab → · Contrast checker → · Palette generator →

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