#D976EC#D976EC

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

Color values

HEX#D976EC
RGBrgb(217, 118, 236)
HSLhsl(290, 76%, 69%)
HSVhsv(290, 50%, 93%)
CMYKcmyk(8.1%, 50%, 0%, 7.5%)
CIE-LABlab(64.78, 56.07, -43.58)
CIE-LCHlch(64.78, 71.02, 322.14°)
OKLaboklab(71.97% 0.1488 -0.1206)
OKLCHoklch(71.97% 0.192 321)
XYZxyz(50.2323, 33.7668, 83.2123)
Luminance0.3377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976EC #89EC76
analogous
#9E76EC #D976EC #EC76C4
triadic
#D976EC #ECD976 #76ECD9
tetradic
#D976EC #EC9E76 #89EC76 #76C4EC
square
#D976EC #EC9E76 #89EC76 #76C4EC
split-complementary
#D976EC #C4EC76 #76EC9E
monochromatic
#AF1CCB #CA40E5 #D976EC #E8ACF3 #F7E1FB

Accessibility & contrast

On white

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

On black

7.75
#D976EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976EC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976EC#FFFFFF#000000##000000
##D976EC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#DB86A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d976ec;
/* rgb */ color: rgb(217, 118, 236);
/* oklch */ color: oklch(72.0% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#e7a1f2',
    500: '#d976ec',
    950: '#000000',
  },
}
SCSS
$custom: #d976ec;
$custom-light: #e7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d976ec",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 290.339,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71968,
    "c": 0.19155,
    "h": 321
  },
  "luminance": 0.33765
}

Semantic roles & 50–950 ramp

primary
#D976EC
secondary
#D3F0CE
accent
#D80E2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D976EC

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

Preview Lab → · Contrast checker → · Palette generator →

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