#D976CD#D976CD

#D976CD is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.163 H 331.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D976CD
RGBrgb(217, 118, 205)
HSLhsl(307, 57%, 66%)
HSVhsv(307, 46%, 85%)
CMYKcmyk(0%, 45.6%, 5.5%, 14.9%)
CIE-LABlab(63.44, 50.47, -28.37)
CIE-LCHlch(63.44, 57.89, 330.66°)
OKLaboklab(70.54% 0.1436 -0.0771)
OKLCHoklch(70.54% 0.163 331.8)
XYZxyz(46.1128, 32.1190, 61.5165)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976CD #76D982
analogous
#B376D9 #D976CD #D9769B
triadic
#D976CD #CDD976 #76CDD9
tetradic
#D976CD #D9B376 #76D982 #769BD9
square
#D976CD #D9B376 #76D982 #769BD9
split-complementary
#D976CD #9BD976 #76D9B3
monochromatic
#A62E98 #CC46BC #D976CD #E6A6DE #F4D6F0

Accessibility & contrast

On white

2.83
#D976CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D976CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976CD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976CD#FFFFFF#000000##000000
##D976CD1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#8E9FCA
Tritanopia (blue-blind)
#E07D98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d976cd;
/* rgb */ color: rgb(217, 118, 205);
/* oklch */ color: oklch(70.5% 0.163 331.8);
Tailwind
colors: {
  custom: {
    50: '#e7a0dc',
    500: '#d976cd',
    950: '#000000',
  },
}
SCSS
$custom: #d976cd;
$custom-light: #e7a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d976cd",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 307.273,
    "s": 56.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70539,
    "c": 0.16296,
    "h": 331.8
  },
  "luminance": 0.32116
}

Semantic roles & 50–950 ramp

primary
#D976CD
secondary
#C5E6C9
accent
#C43521
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D976CD

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

Preview Lab → · Contrast checker → · Palette generator →

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