#D952D8#D952D8

#D952D8 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.226 H 328.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#D952D8
RGBrgb(217, 82, 216)
HSLhsl(300, 64%, 59%)
HSVhsv(300, 62%, 85%)
CMYKcmyk(0%, 62.2%, 0.5%, 14.9%)
CIE-LABlab(57.80, 68.78, -43.39)
CIE-LCHlch(57.80, 81.32, 327.76°)
OKLaboklab(66.54% 0.192 -0.1198)
OKLCHoklch(66.54% 0.226 328)
XYZxyz(44.0267, 25.7471, 67.6032)
Luminance0.2574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952D8 #52D953
analogous
#9652D9 #D952D8 #D95294
triadic
#D952D8 #D8D952 #52D8D9
tetradic
#D952D8 #D99652 #52D953 #5294D9
square
#D952D8 #D99652 #52D953 #5294D9
split-complementary
#D952D8 #94D952 #52D996
monochromatic
#912090 #C32BC2 #D952D8 #E484E3 #EFB6EF

Accessibility & contrast

On white

3.42
#D952D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#D952D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952D8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952D8#FFFFFF#000000##000000
##D952D81.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDC
Deuteranopia (green-blind)
#7391D4
Tritanopia (blue-blind)
#E0638E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d952d8;
/* rgb */ color: rgb(217, 82, 216);
/* oklch */ color: oklch(66.5% 0.226 328.0);
Tailwind
colors: {
  custom: {
    50: '#e88be4',
    500: '#d952d8',
    950: '#000000',
  },
}
SCSS
$custom: #d952d8;
$custom-light: #e88be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d952d8",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 300.444,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66544,
    "c": 0.22631,
    "h": 328
  },
  "luminance": 0.25744
}

Semantic roles & 50–950 ramp

primary
#D952D8
secondary
#A9DEA9
accent
#E74241
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D952D8

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

Preview Lab → · Contrast checker → · Palette generator →

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