#D976F7#D976F7

#D976F7 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.5% C 0.202 H 317.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#D976F7
RGBrgb(217, 118, 247)
HSLhsl(286, 89%, 72%)
HSVhsv(286, 52%, 97%)
CMYKcmyk(12.1%, 52.2%, 0%, 3.1%)
CIE-LABlab(65.30, 58.20, -48.83)
CIE-LCHlch(65.30, 75.97, 320.00°)
OKLaboklab(72.52% 0.15 -0.1358)
OKLCHoklch(72.52% 0.202 317.9)
XYZxyz(51.8799, 34.4258, 91.8897)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976F7 #94F776
analogous
#9976F7 #D976F7 #F776D4
triadic
#D976F7 #F7D976 #76F7D9
tetradic
#D976F7 #F79976 #94F776 #76D4F7
square
#D976F7 #F79976 #94F776 #76D4F7
split-complementary
#D976F7 #D4F776 #76F799
monochromatic
#B30DE5 #C93CF4 #D976F7 #E9B0FA #F7E2FD

Accessibility & contrast

On white

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

On black

7.88
#D976F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976F7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976F7#FFFFFF#000000##000000
##D976F71.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#D989AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d976f7;
/* rgb */ color: rgb(217, 118, 247);
/* oklch */ color: oklch(72.5% 0.202 317.9);
Tailwind
colors: {
  custom: {
    50: '#e7a1fa',
    500: '#d976f7',
    950: '#000000',
  },
}
SCSS
$custom: #d976f7;
$custom-light: #e7a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d976f7",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 286.047,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72523,
    "c": 0.20236,
    "h": 317.9
  },
  "luminance": 0.34424
}

Semantic roles & 50–950 ramp

primary
#D976F7
secondary
#DCF5D4
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D976F7

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

Preview Lab → · Contrast checker → · Palette generator →

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