#D952D5#D952D5

#D952D5 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.224 H 328.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D952D5
RGBrgb(217, 82, 213)
HSLhsl(302, 64%, 59%)
HSVhsv(302, 62%, 85%)
CMYKcmyk(0%, 62.2%, 1.8%, 14.9%)
CIE-LABlab(57.65, 68.29, -41.92)
CIE-LCHlch(57.65, 80.13, 328.45°)
OKLaboklab(66.39% 0.1918 -0.1155)
OKLCHoklch(66.39% 0.224 328.9)
XYZxyz(43.6424, 25.5934, 65.5792)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952D5 #52D956
analogous
#9952D9 #D952D5 #D95291
triadic
#D952D5 #D5D952 #52D5D9
tetradic
#D952D5 #D99952 #52D956 #5291D9
square
#D952D5 #D99952 #52D956 #5291D9
split-complementary
#D952D5 #91D952 #52D999
monochromatic
#91208D #C32BBE #D952D5 #E484E1 #EFB6ED

Accessibility & contrast

On white

3.43
#D952D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D952D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952D5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952D5#FFFFFF#000000##000000
##D952D51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FD9
Deuteranopia (green-blind)
#7491D1
Tritanopia (blue-blind)
#E0628C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d952d5;
/* rgb */ color: rgb(217, 82, 213);
/* oklch */ color: oklch(66.4% 0.224 328.9);
Tailwind
colors: {
  custom: {
    50: '#e88be2',
    500: '#d952d5',
    950: '#000000',
  },
}
SCSS
$custom: #d952d5;
$custom-light: #e88be2;
$custom-dark: #000000;
JSON
{
  "hex": "#d952d5",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 301.778,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6639,
    "c": 0.22391,
    "h": 328.9
  },
  "luminance": 0.2559
}

Semantic roles & 50–950 ramp

primary
#D952D5
secondary
#A9DEAA
accent
#E74641
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D952D5

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

Preview Lab → · Contrast checker → · Palette generator →

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