#D952D2#D952D2

#D952D2 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.222 H 329.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D952D2
RGBrgb(217, 82, 210)
HSLhsl(303, 64%, 59%)
HSVhsv(303, 62%, 85%)
CMYKcmyk(0%, 62.2%, 3.2%, 14.9%)
CIE-LABlab(57.50, 67.80, -40.45)
CIE-LCHlch(57.50, 78.94, 329.18°)
OKLaboklab(66.24% 0.1916 -0.1113)
OKLCHoklch(66.24% 0.222 329.9)
XYZxyz(43.2651, 25.4425, 63.5924)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952D2 #52D959
analogous
#9C52D9 #D952D2 #D9528E
triadic
#D952D2 #D2D952 #52D2D9
tetradic
#D952D2 #D99C52 #52D959 #528ED9
square
#D952D2 #D99C52 #52D959 #528ED9
split-complementary
#D952D2 #8ED952 #52D99C
monochromatic
#91208B #C32BBB #D952D2 #E484DF #EFB6EC

Accessibility & contrast

On white

3.45
#D952D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D952D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952D2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952D2#FFFFFF#000000##000000
##D952D21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ED6
Deuteranopia (green-blind)
#7691CE
Tritanopia (blue-blind)
#E1618B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d952d2;
/* rgb */ color: rgb(217, 82, 210);
/* oklch */ color: oklch(66.2% 0.222 329.9);
Tailwind
colors: {
  custom: {
    50: '#e88be0',
    500: '#d952d2',
    950: '#000000',
  },
}
SCSS
$custom: #d952d2;
$custom-light: #e88be0;
$custom-dark: #000000;
JSON
{
  "hex": "#d952d2",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 303.111,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66237,
    "c": 0.22155,
    "h": 329.9
  },
  "luminance": 0.25439
}

Semantic roles & 50–950 ramp

primary
#D952D2
secondary
#A9DEAB
accent
#E74941
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D952D2

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

Preview Lab → · Contrast checker → · Palette generator →

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