#D976CF#D976CF

#D976CF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.165 H 331.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D976CF
RGBrgb(217, 118, 207)
HSLhsl(306, 57%, 66%)
HSVhsv(306, 46%, 85%)
CMYKcmyk(0%, 45.6%, 4.6%, 14.9%)
CIE-LABlab(63.52, 50.81, -29.37)
CIE-LCHlch(63.52, 58.69, 329.97°)
OKLaboklab(70.62% 0.144 -0.0799)
OKLCHoklch(70.62% 0.165 331)
XYZxyz(46.3558, 32.2162, 62.7961)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976CF #76D980
analogous
#B176D9 #D976CF #D9769D
triadic
#D976CF #CFD976 #76CFD9
tetradic
#D976CF #D9B176 #76D980 #769DD9
square
#D976CF #D9B176 #76D980 #769DD9
split-complementary
#D976CF #9DD976 #76D9B1
monochromatic
#A62E9A #CC46BE #D976CF #E6A6E0 #F4D6F1

Accessibility & contrast

On white

2.82
#D976CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D976CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976CF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976CF#FFFFFF#000000##000000
##D976CF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D2
Deuteranopia (green-blind)
#8E9FCC
Tritanopia (blue-blind)
#E07D99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d976cf;
/* rgb */ color: rgb(217, 118, 207);
/* oklch */ color: oklch(70.6% 0.165 331.0);
Tailwind
colors: {
  custom: {
    50: '#e7a0de',
    500: '#d976cf',
    950: '#000000',
  },
}
SCSS
$custom: #d976cf;
$custom-light: #e7a0de;
$custom-dark: #000000;
JSON
{
  "hex": "#d976cf",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 306.061,
    "s": 56.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70624,
    "c": 0.16469,
    "h": 331
  },
  "luminance": 0.32214
}

Semantic roles & 50–950 ramp

primary
#D976CF
secondary
#C5E6C8
accent
#C43221
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D976CF

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

Preview Lab → · Contrast checker → · Palette generator →

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