#D976DC#D976DC

#D976DC is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.2% C 0.176 H 326.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D976DC
RGBrgb(217, 118, 220)
HSLhsl(298, 59%, 66%)
HSVhsv(298, 46%, 86%)
CMYKcmyk(1.4%, 46.4%, 0%, 13.7%)
CIE-LABlab(64.06, 53.11, -35.81)
CIE-LCHlch(64.06, 64.05, 326.01°)
OKLaboklab(71.2% 0.1465 -0.0982)
OKLCHoklch(71.2% 0.176 326.1)
XYZxyz(48.0110, 32.8783, 71.5135)
Luminance0.3288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976DC #79DC76
analogous
#A676DC #D976DC #DC76AC
triadic
#D976DC #DCD976 #76DCD9
tetradic
#D976DC #DCA676 #79DC76 #76ACDC
square
#D976DC #DCA676 #79DC76 #76ACDC
split-complementary
#D976DC #ACDC76 #76DCA6
monochromatic
#A82CAC #CB45D0 #D976DC #E7A7E8 #F4D7F5

Accessibility & contrast

On white

2.77
#D976DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D976DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976DC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976DC#FFFFFF#000000##000000
##D976DC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#88A0D9
Tritanopia (blue-blind)
#DE819F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d976dc;
/* rgb */ color: rgb(217, 118, 220);
/* oklch */ color: oklch(71.2% 0.176 326.1);
Tailwind
colors: {
  custom: {
    50: '#e7a1e7',
    500: '#d976dc',
    950: '#000000',
  },
}
SCSS
$custom: #d976dc;
$custom-light: #e7a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d976dc",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 298.235,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71204,
    "c": 0.17636,
    "h": 326.1
  },
  "luminance": 0.32876
}

Semantic roles & 50–950 ramp

primary
#D976DC
secondary
#C7E8C6
accent
#C71F24
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D976DC

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

Preview Lab → · Contrast checker → · Palette generator →

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