#D952CE#D952CE

#D952CE is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.218 H 331.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D952CE
RGBrgb(217, 82, 206)
HSLhsl(305, 64%, 59%)
HSVhsv(305, 62%, 85%)
CMYKcmyk(0%, 62.2%, 5.1%, 14.9%)
CIE-LABlab(57.31, 67.15, -38.47)
CIE-LCHlch(57.31, 77.39, 330.19°)
OKLaboklab(66.04% 0.1912 -0.1056)
OKLCHoklch(66.04% 0.218 331.1)
XYZxyz(42.7730, 25.2456, 61.0006)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952CE #52D95D
analogous
#A052D9 #D952CE #D9528A
triadic
#D952CE #CED952 #52CED9
tetradic
#D952CE #D9A052 #52D95D #528AD9
square
#D952CE #D9A052 #52D95D #528AD9
split-complementary
#D952CE #8AD952 #52D9A0
monochromatic
#912088 #C32BB7 #D952CE #E484DC #EFB6EA

Accessibility & contrast

On white

3.47
#D952CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D952CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952CE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952CE#FFFFFF#000000##000000
##D952CE1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#7890CA
Tritanopia (blue-blind)
#E15F89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d952ce;
/* rgb */ color: rgb(217, 82, 206);
/* oklch */ color: oklch(66.0% 0.218 331.1);
Tailwind
colors: {
  custom: {
    50: '#e88bdd',
    500: '#d952ce',
    950: '#000000',
  },
}
SCSS
$custom: #d952ce;
$custom-light: #e88bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d952ce",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 304.889,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.21842,
    "h": 331.1
  },
  "luminance": 0.25243
}

Semantic roles & 50–950 ramp

primary
#D952CE
secondary
#A9DEAD
accent
#E74E41
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D952CE

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

Preview Lab → · Contrast checker → · Palette generator →

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