#D952DE#D952DE

#D952DE is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.9% C 0.231 H 326.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#D952DE
RGBrgb(217, 82, 222)
HSLhsl(298, 68%, 60%)
HSVhsv(298, 63%, 87%)
CMYKcmyk(2.3%, 63.1%, 0%, 12.9%)
CIE-LABlab(58.10, 69.78, -46.30)
CIE-LCHlch(58.10, 83.75, 326.44°)
OKLaboklab(66.86% 0.1924 -0.1282)
OKLCHoklch(66.86% 0.231 326.3)
XYZxyz(44.8165, 26.0631, 71.7632)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952DE #57DE52
analogous
#9352DE #D952DE #DE529D
triadic
#D952DE #DED952 #52DED9
tetradic
#D952DE #DE9352 #57DE52 #529DDE
square
#D952DE #DE9352 #57DE52 #529DDE
split-complementary
#D952DE #9DDE52 #52DE93
monochromatic
#941D99 #C627CC #D952DE #E485E8 #F0B9F2

Accessibility & contrast

On white

3.38
#D952DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#D952DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952DE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952DE#FFFFFF#000000##000000
##D952DE1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E2
Deuteranopia (green-blind)
#7092DA
Tritanopia (blue-blind)
#DE6691
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d952de;
/* rgb */ color: rgb(217, 82, 222);
/* oklch */ color: oklch(66.9% 0.231 326.3);
Tailwind
colors: {
  custom: {
    50: '#e88ce9',
    500: '#d952de',
    950: '#000000',
  },
}
SCSS
$custom: #d952de;
$custom-light: #e88ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#d952de",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 297.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6686,
    "c": 0.23115,
    "h": 326.3
  },
  "luminance": 0.2606
}

Semantic roles & 50–950 ramp

primary
#D952DE
secondary
#ADE1AB
accent
#EB3D43
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D952DE

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

Preview Lab → · Contrast checker → · Palette generator →

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