#D976F8#D976F8

#D976F8 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.6% C 0.203 H 317.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D976F8
RGBrgb(217, 118, 248)
HSLhsl(286, 90%, 72%)
HSVhsv(286, 52%, 97%)
CMYKcmyk(12.5%, 52.4%, 0%, 2.7%)
CIE-LABlab(65.35, 58.39, -49.30)
CIE-LCHlch(65.35, 76.42, 319.82°)
OKLaboklab(72.58% 0.1501 -0.1372)
OKLCHoklch(72.58% 0.203 317.6)
XYZxyz(52.0346, 34.4877, 92.7045)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976F8 #95F876
analogous
#9876F8 #D976F8 #F876D6
triadic
#D976F8 #F8D976 #76F8D9
tetradic
#D976F8 #F89876 #95F876 #76D6F8
square
#D976F8 #F89876 #95F876 #76D6F8
split-complementary
#D976F8 #D6F876 #76F898
monochromatic
#B30CE8 #C93CF5 #D976F8 #E9B0FB #F7E2FE

Accessibility & contrast

On white

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

On black

7.90
#D976F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976F8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976F8#FFFFFF#000000##000000
##D976F81.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#D88AAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d976f8;
/* rgb */ color: rgb(217, 118, 248);
/* oklch */ color: oklch(72.6% 0.203 317.6);
Tailwind
colors: {
  custom: {
    50: '#e7a1fb',
    500: '#d976f8',
    950: '#000000',
  },
}
SCSS
$custom: #d976f8;
$custom-light: #e7a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d976f8",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 285.692,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72575,
    "c": 0.20335,
    "h": 317.6
  },
  "luminance": 0.34486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D976F8

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

Preview Lab → · Contrast checker → · Palette generator →

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