#D976ED#D976ED

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

Color values

HEX#D976ED
RGBrgb(217, 118, 237)
HSLhsl(290, 77%, 70%)
HSVhsv(290, 50%, 93%)
CMYKcmyk(8.4%, 50.2%, 0%, 7.1%)
CIE-LABlab(64.82, 56.26, -44.06)
CIE-LCHlch(64.82, 71.47, 321.93°)
OKLaboklab(72.02% 0.149 -0.122)
OKLCHoklch(72.02% 0.193 320.7)
XYZxyz(50.3780, 33.8251, 83.9796)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976ED #8AED76
analogous
#9E76ED #D976ED #ED76C6
triadic
#D976ED #EDD976 #76EDD9
tetradic
#D976ED #ED9E76 #8AED76 #76C6ED
square
#D976ED #ED9E76 #8AED76 #76C6ED
split-complementary
#D976ED #C6ED76 #76ED9E
monochromatic
#B01BCE #CA40E6 #D976ED #E8ACF4 #F7E2FB

Accessibility & contrast

On white

2.70
#D976ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D976ED#FFFFFF#000000##000000
##D976ED1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#81A1EA
Tritanopia (blue-blind)
#DB86A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d976ed;
/* rgb */ color: rgb(217, 118, 237);
/* oklch */ color: oklch(72.0% 0.193 320.7);
Tailwind
colors: {
  custom: {
    50: '#e7a1f3',
    500: '#d976ed',
    950: '#000000',
  },
}
SCSS
$custom: #d976ed;
$custom-light: #e7a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d976ed",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 289.916,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.19253,
    "h": 320.7
  },
  "luminance": 0.33823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D976ED

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

Preview Lab → · Contrast checker → · Palette generator →

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