#D976DF#D976DF

#D976DF is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.179 H 325.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D976DF
RGBrgb(217, 118, 223)
HSLhsl(297, 62%, 67%)
HSVhsv(297, 47%, 87%)
CMYKcmyk(2.7%, 47.1%, 0%, 12.5%)
CIE-LABlab(64.19, 53.65, -37.28)
CIE-LCHlch(64.19, 65.33, 325.21°)
OKLaboklab(71.34% 0.147 -0.1024)
OKLCHoklch(71.34% 0.179 325.1)
XYZxyz(48.4119, 33.0386, 73.6248)
Luminance0.3304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976DF #7CDF76
analogous
#A476DF #D976DF #DF76B1
triadic
#D976DF #DFD976 #76DFD9
tetradic
#D976DF #DFA476 #7CDF76 #76B1DF
square
#D976DF #DFA476 #7CDF76 #76B1DF
split-complementary
#D976DF #B1DF76 #76DFA4
monochromatic
#A929B1 #CB44D3 #D976DF #E7A8EB #F5D9F6

Accessibility & contrast

On white

2.76
#D976DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D976DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976DF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976DF#FFFFFF#000000##000000
##D976DF1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E3
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#DD82A0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d976df;
/* rgb */ color: rgb(217, 118, 223);
/* oklch */ color: oklch(71.3% 0.179 325.1);
Tailwind
colors: {
  custom: {
    50: '#e7a1e9',
    500: '#d976df',
    950: '#000000',
  },
}
SCSS
$custom: #d976df;
$custom-light: #e7a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d976df",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 296.571,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71343,
    "c": 0.17915,
    "h": 325.1
  },
  "luminance": 0.33036
}

Semantic roles & 50–950 ramp

primary
#D976DF
secondary
#CAE9C8
accent
#CA1C26
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D976DF

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

Preview Lab → · Contrast checker → · Palette generator →

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