#D976EB#D976EB

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

Color values

HEX#D976EB
RGBrgb(217, 118, 235)
HSLhsl(291, 75%, 69%)
HSVhsv(291, 50%, 92%)
CMYKcmyk(7.7%, 49.8%, 0%, 7.8%)
CIE-LABlab(64.73, 55.88, -43.10)
CIE-LCHlch(64.73, 70.58, 322.36°)
OKLaboklab(71.92% 0.1487 -0.1192)
OKLCHoklch(71.92% 0.191 321.3)
XYZxyz(50.0874, 33.7089, 82.4493)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976EB #88EB76
analogous
#9F76EB #D976EB #EB76C3
triadic
#D976EB #EBD976 #76EBD9
tetradic
#D976EB #EB9F76 #88EB76 #76C3EB
square
#D976EB #EB9F76 #88EB76 #76C3EB
split-complementary
#D976EB #C3EB76 #76EB9F
monochromatic
#AF1DC9 #CA41E3 #D976EB #E8ABF3 #F7E1FB

Accessibility & contrast

On white

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

On black

7.74
#D976EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976EB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976EB#FFFFFF#000000##000000
##D976EB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#DB86A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d976eb;
/* rgb */ color: rgb(217, 118, 235);
/* oklch */ color: oklch(71.9% 0.191 321.3);
Tailwind
colors: {
  custom: {
    50: '#e7a1f2',
    500: '#d976eb',
    950: '#000000',
  },
}
SCSS
$custom: #d976eb;
$custom-light: #e7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d976eb",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 290.769,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71918,
    "c": 0.19059,
    "h": 321.3
  },
  "luminance": 0.33707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D976EB

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

Preview Lab → · Contrast checker → · Palette generator →

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