#D976DB#D976DB

#D976DB is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.2% C 0.175 H 326.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D976DB
RGBrgb(217, 118, 219)
HSLhsl(299, 58%, 66%)
HSVhsv(299, 46%, 86%)
CMYKcmyk(0.9%, 46.1%, 0%, 14.1%)
CIE-LABlab(64.02, 52.93, -35.32)
CIE-LCHlch(64.02, 63.63, 326.28°)
OKLaboklab(71.16% 0.1463 -0.0968)
OKLCHoklch(71.16% 0.175 326.5)
XYZxyz(47.8789, 32.8255, 70.8181)
Luminance0.3282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976DB #78DB76
analogous
#A676DB #D976DB #DB76AA
triadic
#D976DB #DBD976 #76DBD9
tetradic
#D976DB #DBA676 #78DB76 #76AADB
square
#D976DB #DBA676 #78DB76 #76AADB
split-complementary
#D976DB #AADB76 #76DBA6
monochromatic
#A72DAA #CC46CE #D976DB #E6A6E8 #F4D7F4

Accessibility & contrast

On white

2.78
#D976DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#D976DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976DB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976DB#FFFFFF#000000##000000
##D976DB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DE
Deuteranopia (green-blind)
#89A0D8
Tritanopia (blue-blind)
#DE819E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d976db;
/* rgb */ color: rgb(217, 118, 219);
/* oklch */ color: oklch(71.2% 0.175 326.5);
Tailwind
colors: {
  custom: {
    50: '#e7a1e6',
    500: '#d976db',
    950: '#000000',
  },
}
SCSS
$custom: #d976db;
$custom-light: #e7a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d976db",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 298.812,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71159,
    "c": 0.17544,
    "h": 326.5
  },
  "luminance": 0.32823
}

Semantic roles & 50–950 ramp

primary
#D976DB
secondary
#C6E7C6
accent
#C62023
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D976DB

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

Preview Lab → · Contrast checker → · Palette generator →

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