#D976FD#D976FD

#D976FD is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 72.8% C 0.208 H 316.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D976FD
RGBrgb(217, 118, 253)
HSLhsl(284, 97%, 73%)
HSVhsv(284, 53%, 99%)
CMYKcmyk(14.2%, 53.4%, 0%, 0.8%)
CIE-LABlab(65.59, 59.38, -51.66)
CIE-LCHlch(65.59, 78.71, 318.98°)
OKLaboklab(72.84% 0.1506 -0.144)
OKLCHoklch(72.84% 0.208 316.3)
XYZxyz(52.8207, 34.8022, 96.8445)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976FD #9AFD76
analogous
#9576FD #D976FD #FD76DD
triadic
#D976FD #FDD976 #76FDD9
tetradic
#D976FD #FD9576 #9AFD76 #76DDFD
square
#D976FD #FD9576 #9AFD76 #76DDFD
split-complementary
#D976FD #DDFD76 #76FD95
monochromatic
#B504F5 #C83AFC #D976FD #EAB2FE #F7E1FF

Accessibility & contrast

On white

2.64
#D976FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D976FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976FD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976FD#FFFFFF#000000##000000
##D976FD1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#D78BAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d976fd;
/* rgb */ color: rgb(217, 118, 253);
/* oklch */ color: oklch(72.8% 0.208 316.3);
Tailwind
colors: {
  custom: {
    50: '#e7a1fe',
    500: '#d976fd',
    950: '#000000',
  },
}
SCSS
$custom: #d976fd;
$custom-light: #e7a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d976fd",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 284,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72836,
    "c": 0.20834,
    "h": 316.3
  },
  "luminance": 0.348
}

Semantic roles & 50–950 ramp

primary
#D976FD
secondary
#DDF7D4
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D976FD

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

Preview Lab → · Contrast checker → · Palette generator →

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