#D952CD#D952CD

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

Color values

HEX#D952CD
RGBrgb(217, 82, 205)
HSLhsl(305, 64%, 59%)
HSVhsv(305, 62%, 85%)
CMYKcmyk(0%, 62.2%, 5.5%, 14.9%)
CIE-LABlab(57.27, 66.99, -37.98)
CIE-LCHlch(57.27, 77.01, 330.45°)
OKLaboklab(65.99% 0.1911 -0.1042)
OKLCHoklch(65.99% 0.218 331.4)
XYZxyz(42.6519, 25.1972, 60.3629)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952CD #52D95E
analogous
#A152D9 #D952CD #D95289
triadic
#D952CD #CDD952 #52CDD9
tetradic
#D952CD #D9A152 #52D95E #5289D9
square
#D952CD #D9A152 #52D95E #5289D9
split-complementary
#D952CD #89D952 #52D9A1
monochromatic
#912087 #C32BB5 #D952CD #E484DC #EFB6EA

Accessibility & contrast

On white

3.48
#D952CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#D952CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952CD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952CD#FFFFFF#000000##000000
##D952CD1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#7890C9
Tritanopia (blue-blind)
#E15F88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d952cd;
/* rgb */ color: rgb(217, 82, 205);
/* oklch */ color: oklch(66.0% 0.218 331.4);
Tailwind
colors: {
  custom: {
    50: '#e88bdc',
    500: '#d952cd',
    950: '#000000',
  },
}
SCSS
$custom: #d952cd;
$custom-light: #e88bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d952cd",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 305.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65988,
    "c": 0.21765,
    "h": 331.4
  },
  "luminance": 0.25194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D952CD

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

Preview Lab → · Contrast checker → · Palette generator →

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