#D976EF#D976EF

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

Color values

HEX#D976EF
RGBrgb(217, 118, 239)
HSLhsl(289, 79%, 70%)
HSVhsv(289, 51%, 94%)
CMYKcmyk(9.2%, 50.6%, 0%, 6.3%)
CIE-LABlab(64.92, 56.65, -45.02)
CIE-LCHlch(64.92, 72.36, 321.52°)
OKLaboklab(72.12% 0.1492 -0.1247)
OKLCHoklch(72.12% 0.194 320.1)
XYZxyz(50.6718, 33.9426, 85.5270)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976EF #8CEF76
analogous
#9D76EF #D976EF #EF76C8
triadic
#D976EF #EFD976 #76EFD9
tetradic
#D976EF #EF9D76 #8CEF76 #76C8EF
square
#D976EF #EF9D76 #8CEF76 #76C8EF
split-complementary
#D976EF #C8EF76 #76EF9D
monochromatic
#B019D2 #CA3FE9 #D976EF #E8ADF5 #F7E4FC

Accessibility & contrast

On white

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

On black

7.79
#D976EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976EF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976EF#FFFFFF#000000##000000
##D976EF1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#DA87A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d976ef;
/* rgb */ color: rgb(217, 118, 239);
/* oklch */ color: oklch(72.1% 0.194 320.1);
Tailwind
colors: {
  custom: {
    50: '#e7a1f4',
    500: '#d976ef',
    950: '#000000',
  },
}
SCSS
$custom: #d976ef;
$custom-light: #e7a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d976ef",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 289.091,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.72117,
    "c": 0.19447,
    "h": 320.1
  },
  "luminance": 0.33941
}

Semantic roles & 50–950 ramp

primary
#D976EF
secondary
#D6F1CF
accent
#DB0A30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D976EF

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

Preview Lab → · Contrast checker → · Palette generator →

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