#D952E1#D952E1

#D952E1 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.234 H 325.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D952E1
RGBrgb(217, 82, 225)
HSLhsl(297, 70%, 60%)
HSVhsv(297, 64%, 88%)
CMYKcmyk(3.6%, 63.6%, 0%, 11.8%)
CIE-LABlab(58.25, 70.29, -47.74)
CIE-LCHlch(58.25, 84.97, 325.82°)
OKLaboklab(67.02% 0.1925 -0.1324)
OKLCHoklch(67.02% 0.234 325.5)
XYZxyz(45.2222, 26.2253, 73.8996)
Luminance0.2622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952E1 #5AE152
analogous
#9152E1 #D952E1 #E152A2
triadic
#D952E1 #E1D952 #52E1D9
tetradic
#D952E1 #E19152 #5AE152 #52A2E1
square
#D952E1 #E19152 #5AE152 #52A2E1
split-complementary
#D952E1 #A2E152 #52E191
monochromatic
#961B9D #C824D1 #D952E1 #E486EA #F0BAF3

Accessibility & contrast

On white

3.36
#D952E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D952E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952E1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952E1#FFFFFF#000000##000000
##D952E11.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3881E5
Deuteranopia (green-blind)
#6E92DD
Tritanopia (blue-blind)
#DE6793
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d952e1;
/* rgb */ color: rgb(217, 82, 225);
/* oklch */ color: oklch(67.0% 0.234 325.5);
Tailwind
colors: {
  custom: {
    50: '#e88ceb',
    500: '#d952e1',
    950: '#000000',
  },
}
SCSS
$custom: #d952e1;
$custom-light: #e88ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#d952e1",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 296.643,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6702,
    "c": 0.2336,
    "h": 325.5
  },
  "luminance": 0.26223
}

Semantic roles & 50–950 ramp

primary
#D952E1
secondary
#AFE3AC
accent
#D2131E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D952E1

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

Preview Lab → · Contrast checker → · Palette generator →

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