#D976FC#D976FC

#D976FC is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.8% C 0.207 H 316.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D976FC
RGBrgb(217, 118, 252)
HSLhsl(284, 96%, 73%)
HSVhsv(284, 53%, 99%)
CMYKcmyk(13.9%, 53.2%, 0%, 1.2%)
CIE-LABlab(65.54, 59.18, -51.19)
CIE-LCHlch(65.54, 78.25, 319.14°)
OKLaboklab(72.78% 0.1505 -0.1426)
OKLCHoklch(72.78% 0.207 316.5)
XYZxyz(52.6618, 34.7386, 96.0078)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976FC #99FC76
analogous
#9676FC #D976FC #FC76DC
triadic
#D976FC #FCD976 #76FCD9
tetradic
#D976FC #FC9676 #99FC76 #76DCFC
square
#D976FC #FC9676 #99FC76 #76DCFC
split-complementary
#D976FC #DCFC76 #76FC96
monochromatic
#B405F2 #C83AFB #D976FC #EAB2FD #F7E1FE

Accessibility & contrast

On white

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

On black

7.95
#D976FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976FC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976FC#FFFFFF#000000##000000
##D976FC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#D88BAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d976fc;
/* rgb */ color: rgb(217, 118, 252);
/* oklch */ color: oklch(72.8% 0.207 316.5);
Tailwind
colors: {
  custom: {
    50: '#e7a1fe',
    500: '#d976fc',
    950: '#000000',
  },
}
SCSS
$custom: #d976fc;
$custom-light: #e7a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d976fc",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 284.328,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72784,
    "c": 0.20733,
    "h": 316.5
  },
  "luminance": 0.34737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D976FC

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

Preview Lab → · Contrast checker → · Palette generator →

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