#D952DC#D952DC

#D952DC is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.230 H 326.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D952DC
RGBrgb(217, 82, 220)
HSLhsl(299, 66%, 59%)
HSVhsv(299, 63%, 86%)
CMYKcmyk(1.4%, 62.7%, 0%, 13.7%)
CIE-LABlab(58.00, 69.45, -45.33)
CIE-LCHlch(58.00, 82.93, 326.87°)
OKLaboklab(66.75% 0.1923 -0.1254)
OKLCHoklch(66.75% 0.23 326.9)
XYZxyz(44.5501, 25.9565, 70.3599)
Luminance0.2595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952DC #55DC52
analogous
#9452DC #D952DC #DC529A
triadic
#D952DC #DCD952 #52DCD9
tetradic
#D952DC #DC9452 #55DC52 #529ADC
square
#D952DC #DC9452 #55DC52 #529ADC
split-complementary
#D952DC #9ADC52 #52DC94
monochromatic
#931E95 #C529C8 #D952DC #E485E6 #EFB8F1

Accessibility & contrast

On white

3.39
#D952DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D952DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952DC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952DC#FFFFFF#000000##000000
##D952DC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#7191D8
Tritanopia (blue-blind)
#DF6590
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d952dc;
/* rgb */ color: rgb(217, 82, 220);
/* oklch */ color: oklch(66.8% 0.230 326.9);
Tailwind
colors: {
  custom: {
    50: '#e88ce7',
    500: '#d952dc',
    950: '#000000',
  },
}
SCSS
$custom: #d952dc;
$custom-light: #e88ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#d952dc",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 298.696,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66754,
    "c": 0.22952,
    "h": 326.9
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#D952DC
secondary
#ABE0AA
accent
#E93F42
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D952DC

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

Preview Lab → · Contrast checker → · Palette generator →

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