#D976FE#D976FE

#D976FE is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 72.9% C 0.209 H 316.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D976FE
RGBrgb(217, 118, 254)
HSLhsl(284, 99%, 73%)
HSVhsv(284, 54%, 100%)
CMYKcmyk(14.6%, 53.5%, 0%, 0.4%)
CIE-LABlab(65.64, 59.58, -52.13)
CIE-LCHlch(65.64, 79.16, 318.82°)
OKLaboklab(72.89% 0.1506 -0.1454)
OKLCHoklch(72.89% 0.209 316)
XYZxyz(52.9804, 34.8661, 97.6857)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976FE #9BFE76
analogous
#9576FE #D976FE #FE76DF
triadic
#D976FE #FED976 #76FED9
tetradic
#D976FE #FE9576 #9BFE76 #76DFFE
square
#D976FE #FE9576 #9BFE76 #76DFFE
split-complementary
#D976FE #DFFE76 #76FE95
monochromatic
#B502F8 #C839FE #D976FE #EAB3FE #F7E1FF

Accessibility & contrast

On white

2.63
#D976FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D976FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976FE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976FE#FFFFFF#000000##000000
##D976FE1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#D78CAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d976fe;
/* rgb */ color: rgb(217, 118, 254);
/* oklch */ color: oklch(72.9% 0.209 316.0);
Tailwind
colors: {
  custom: {
    50: '#e7a1ff',
    500: '#d976fe',
    950: '#000000',
  },
}
SCSS
$custom: #d976fe;
$custom-light: #e7a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d976fe",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 283.676,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72889,
    "c": 0.20934,
    "h": 316
  },
  "luminance": 0.34864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D976FE

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

Preview Lab → · Contrast checker → · Palette generator →

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