#D952DB#D952DB

#D952DB is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.229 H 327.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D952DB
RGBrgb(217, 82, 219)
HSLhsl(299, 66%, 59%)
HSVhsv(299, 63%, 86%)
CMYKcmyk(0.9%, 62.6%, 0%, 14.1%)
CIE-LABlab(57.95, 69.28, -44.85)
CIE-LCHlch(57.95, 82.53, 327.08°)
OKLaboklab(66.7% 0.1922 -0.124)
OKLCHoklch(66.7% 0.229 327.2)
XYZxyz(44.4180, 25.9037, 69.6645)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952DB #54DB52
analogous
#9552DB #D952DB #DB5299
triadic
#D952DB #DBD952 #52DBD9
tetradic
#D952DB #DB9552 #54DB52 #5299DB
square
#D952DB #DB9552 #54DB52 #5299DB
split-complementary
#D952DB #99DB52 #52DB95
monochromatic
#921F94 #C429C6 #D952DB #E485E6 #EFB7F0

Accessibility & contrast

On white

3.40
#D952DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D952DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952DB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952DB#FFFFFF#000000##000000
##D952DB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#7191D7
Tritanopia (blue-blind)
#DF6490
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d952db;
/* rgb */ color: rgb(217, 82, 219);
/* oklch */ color: oklch(66.7% 0.229 327.2);
Tailwind
colors: {
  custom: {
    50: '#e88ce6',
    500: '#d952db',
    950: '#000000',
  },
}
SCSS
$custom: #d952db;
$custom-light: #e88ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#d952db",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 299.124,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66701,
    "c": 0.22872,
    "h": 327.2
  },
  "luminance": 0.25901
}

Semantic roles & 50–950 ramp

primary
#D952DB
secondary
#AADFAA
accent
#E93F42
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D952DB

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

Preview Lab → · Contrast checker → · Palette generator →

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