#D976F6#D976F6

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

Color values

HEX#D976F6
RGBrgb(217, 118, 246)
HSLhsl(286, 88%, 71%)
HSVhsv(286, 52%, 96%)
CMYKcmyk(11.8%, 52%, 0%, 3.5%)
CIE-LABlab(65.25, 58.00, -48.36)
CIE-LCHlch(65.25, 75.51, 320.18°)
OKLaboklab(72.47% 0.1499 -0.1344)
OKLCHoklch(72.47% 0.201 318.1)
XYZxyz(51.7260, 34.3643, 91.0792)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976F6 #93F676
analogous
#9976F6 #D976F6 #F676D3
triadic
#D976F6 #F6D976 #76F6D9
tetradic
#D976F6 #F69976 #93F676 #76D3F6
square
#D976F6 #F69976 #93F676 #76D3F6
split-complementary
#D976F6 #D3F676 #76F699
monochromatic
#B30FE3 #C93DF2 #D976F6 #E9AFFA #F7E2FD

Accessibility & contrast

On white

2.67
#D976F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D976F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976F6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976F6#FFFFFF#000000##000000
##D976F61.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#7CA2F3
Tritanopia (blue-blind)
#D989AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d976f6;
/* rgb */ color: rgb(217, 118, 246);
/* oklch */ color: oklch(72.5% 0.201 318.1);
Tailwind
colors: {
  custom: {
    50: '#e7a1f9',
    500: '#d976f6',
    950: '#000000',
  },
}
SCSS
$custom: #d976f6;
$custom-light: #e7a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d976f6",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 286.406,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72472,
    "c": 0.20137,
    "h": 318.1
  },
  "luminance": 0.34362
}

Semantic roles & 50–950 ramp

primary
#D976F6
secondary
#DBF5D3
accent
#E40135
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D976F6

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

Preview Lab → · Contrast checker → · Palette generator →

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