#D976F9#D976F9

#D976F9 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.6% C 0.204 H 317.3°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D976F9
RGBrgb(217, 118, 249)
HSLhsl(285, 92%, 72%)
HSVhsv(285, 53%, 98%)
CMYKcmyk(12.9%, 52.6%, 0%, 2.4%)
CIE-LABlab(65.40, 58.59, -49.78)
CIE-LCHlch(65.40, 76.88, 319.65°)
OKLaboklab(72.63% 0.1502 -0.1385)
OKLCHoklch(72.63% 0.204 317.3)
XYZxyz(52.1901, 34.5500, 93.5238)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976F9 #96F976
analogous
#9876F9 #D976F9 #F976D7
triadic
#D976F9 #F9D976 #76F9D9
tetradic
#D976F9 #F99876 #96F976 #76D7F9
square
#D976F9 #F99876 #96F976 #76D7F9
split-complementary
#D976F9 #D7F976 #76F998
monochromatic
#B40AEA #C93BF6 #D976F9 #E9B1FC #F7E2FE

Accessibility & contrast

On white

2.66
#D976F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#D976F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976F9
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976F9#FFFFFF#000000##000000
##D976F91.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#D88AAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d976f9;
/* rgb */ color: rgb(217, 118, 249);
/* oklch */ color: oklch(72.6% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#e7a1fc',
    500: '#d976f9',
    950: '#000000',
  },
}
SCSS
$custom: #d976f9;
$custom-light: #e7a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d976f9",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 285.344,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72627,
    "c": 0.20434,
    "h": 317.3
  },
  "luminance": 0.34548
}

Semantic roles & 50–950 ramp

primary
#D976F9
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D976F9

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

Preview Lab → · Contrast checker → · Palette generator →

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