#D952EA#D952EA

#D952EA is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.5% C 0.241 H 323.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D952EA
RGBrgb(217, 82, 234)
HSLhsl(293, 78%, 62%)
HSVhsv(293, 65%, 92%)
CMYKcmyk(7.3%, 65%, 0%, 8.2%)
CIE-LABlab(58.72, 71.85, -52.04)
CIE-LCHlch(58.72, 88.72, 324.08°)
OKLaboklab(67.51% 0.1926 -0.1449)
OKLCHoklch(67.51% 0.241 323.1)
XYZxyz(46.4824, 26.7294, 80.5369)
Luminance0.2673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952EA #63EA52
analogous
#8D52EA #D952EA #EA52AF
triadic
#D952EA #EAD952 #52EAD9
tetradic
#D952EA #EA8D52 #63EA52 #52AFEA
square
#D952EA #EA8D52 #63EA52 #52AFEA
split-complementary
#D952EA #AFEA52 #52EA8D
monochromatic
#9C15AD #CD1CE3 #D952EA #E589F1 #F1BFF7

Accessibility & contrast

On white

3.31
#D952EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D952EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952EA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952EA#FFFFFF#000000##000000
##D952EA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83EE
Deuteranopia (green-blind)
#6993E6
Tritanopia (blue-blind)
#DC6B97
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d952ea;
/* rgb */ color: rgb(217, 82, 234);
/* oklch */ color: oklch(67.5% 0.241 323.1);
Tailwind
colors: {
  custom: {
    50: '#e88cf1',
    500: '#d952ea',
    950: '#000000',
  },
}
SCSS
$custom: #d952ea;
$custom-light: #e88cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d952ea",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 293.289,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67514,
    "c": 0.24105,
    "h": 323.1
  },
  "luminance": 0.26727
}

Semantic roles & 50–950 ramp

primary
#D952EA
secondary
#B6E8B0
accent
#DB0B22
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #D952EA

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

Preview Lab → · Contrast checker → · Palette generator →

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