#D976EE#D976EE

#D976EE is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.1% C 0.194 H 320.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D976EE
RGBrgb(217, 118, 238)
HSLhsl(290, 78%, 70%)
HSVhsv(290, 50%, 93%)
CMYKcmyk(8.8%, 50.4%, 0%, 6.7%)
CIE-LABlab(64.87, 56.46, -44.54)
CIE-LCHlch(64.87, 71.91, 321.73°)
OKLaboklab(72.07% 0.1491 -0.1234)
OKLCHoklch(72.07% 0.194 320.4)
XYZxyz(50.5245, 33.8837, 84.7512)
Luminance0.3388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976EE #8BEE76
analogous
#9D76EE #D976EE #EE76C7
triadic
#D976EE #EED976 #76EED9
tetradic
#D976EE #EE9D76 #8BEE76 #76C7EE
square
#D976EE #EE9D76 #8BEE76 #76C7EE
split-complementary
#D976EE #C7EE76 #76EE9D
monochromatic
#B01AD0 #CA40E7 #D976EE #E8ACF5 #F7E3FC

Accessibility & contrast

On white

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

On black

7.78
#D976EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976EE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976EE#FFFFFF#000000##000000
##D976EE1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#DA87A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d976ee;
/* rgb */ color: rgb(217, 118, 238);
/* oklch */ color: oklch(72.1% 0.194 320.4);
Tailwind
colors: {
  custom: {
    50: '#e7a1f4',
    500: '#d976ee',
    950: '#000000',
  },
}
SCSS
$custom: #d976ee;
$custom-light: #e7a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d976ee",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 289.5,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72067,
    "c": 0.19351,
    "h": 320.4
  },
  "luminance": 0.33882
}

Semantic roles & 50–950 ramp

primary
#D976EE
secondary
#D5F1CF
accent
#DA0B30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D976EE

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

Preview Lab → · Contrast checker → · Palette generator →

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