#D976FA#D976FA

#D976FA is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.7% C 0.205 H 317.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#D976FA
RGBrgb(217, 118, 250)
HSLhsl(285, 93%, 72%)
HSVhsv(285, 53%, 98%)
CMYKcmyk(13.2%, 52.8%, 0%, 2%)
CIE-LABlab(65.45, 58.79, -50.25)
CIE-LCHlch(65.45, 77.33, 319.48°)
OKLaboklab(72.68% 0.1503 -0.1399)
OKLCHoklch(72.68% 0.205 317.1)
XYZxyz(52.3465, 34.6125, 94.3474)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976FA #97FA76
analogous
#9776FA #D976FA #FA76D9
triadic
#D976FA #FAD976 #76FAD9
tetradic
#D976FA #FA9776 #97FA76 #76D9FA
square
#D976FA #FA9776 #97FA76 #76D9FA
split-complementary
#D976FA #D9FA76 #76FA97
monochromatic
#B409ED #C93BF8 #D976FA #E9B1FC #F7E1FE

Accessibility & contrast

On white

2.65
#D976FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#D976FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976FA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976FA#FFFFFF#000000##000000
##D976FA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FE
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#D88AAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d976fa;
/* rgb */ color: rgb(217, 118, 250);
/* oklch */ color: oklch(72.7% 0.205 317.1);
Tailwind
colors: {
  custom: {
    50: '#e7a1fc',
    500: '#d976fa',
    950: '#000000',
  },
}
SCSS
$custom: #d976fa;
$custom-light: #e7a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d976fa",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 285,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72679,
    "c": 0.20534,
    "h": 317.1
  },
  "luminance": 0.34611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D976FA

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

Preview Lab → · Contrast checker → · Palette generator →

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