#D952D7#D952D7

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

Color values

HEX#D952D7
RGBrgb(217, 82, 215)
HSLhsl(301, 64%, 59%)
HSVhsv(301, 62%, 85%)
CMYKcmyk(0%, 62.2%, 0.9%, 14.9%)
CIE-LABlab(57.75, 68.61, -42.90)
CIE-LCHlch(57.75, 80.92, 327.99°)
OKLaboklab(66.49% 0.192 -0.1183)
OKLCHoklch(66.49% 0.226 328.3)
XYZxyz(43.8978, 25.6956, 66.9244)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952D7 #52D954
analogous
#9752D9 #D952D7 #D95293
triadic
#D952D7 #D7D952 #52D7D9
tetradic
#D952D7 #D99752 #52D954 #5293D9
square
#D952D7 #D99752 #52D954 #5293D9
split-complementary
#D952D7 #93D952 #52D997
monochromatic
#91208F #C32BC1 #D952D7 #E484E3 #EFB6EE

Accessibility & contrast

On white

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

On black

6.14
#D952D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952D7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952D7#FFFFFF#000000##000000
##D952D71.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDB
Deuteranopia (green-blind)
#7391D3
Tritanopia (blue-blind)
#E0638D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d952d7;
/* rgb */ color: rgb(217, 82, 215);
/* oklch */ color: oklch(66.5% 0.226 328.3);
Tailwind
colors: {
  custom: {
    50: '#e88be4',
    500: '#d952d7',
    950: '#000000',
  },
}
SCSS
$custom: #d952d7;
$custom-light: #e88be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d952d7",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 300.889,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66493,
    "c": 0.22551,
    "h": 328.3
  },
  "luminance": 0.25693
}

Semantic roles & 50–950 ramp

primary
#D952D7
secondary
#A9DEA9
accent
#E74341
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #D952D7

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

Preview Lab → · Contrast checker → · Palette generator →

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