#DE52D4#DE52D4

#DE52D4 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.226 H 330.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#DE52D4
RGBrgb(222, 82, 212)
HSLhsl(304, 68%, 60%)
HSVhsv(304, 63%, 87%)
CMYKcmyk(0%, 63.1%, 4.5%, 12.9%)
CIE-LABlab(58.34, 69.34, -40.21)
CIE-LCHlch(58.34, 80.16, 329.89°)
OKLaboklab(67.02% 0.197 -0.1105)
OKLCHoklch(67.02% 0.226 330.7)
XYZxyz(45.0250, 26.3209, 64.9836)
Luminance0.2632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE52D4 #52DE5C
analogous
#A252DE #DE52D4 #DE528E
triadic
#DE52D4 #D4DE52 #52D4DE
tetradic
#DE52D4 #DEA252 #52DE5C #528EDE
square
#DE52D4 #DEA252 #52DE5C #528EDE
split-complementary
#DE52D4 #8EDE52 #52DEA2
monochromatic
#991D90 #CC27C0 #DE52D4 #E885E1 #F2B9EE

Accessibility & contrast

On white

3.35
#DE52D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#DE52D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE52D4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE52D4#FFFFFF#000000##000000
##DE52D41.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4880D8
Deuteranopia (green-blind)
#7993D0
Tritanopia (blue-blind)
#E6618C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #de52d4;
/* rgb */ color: rgb(222, 82, 212);
/* oklch */ color: oklch(67.0% 0.226 330.7);
Tailwind
colors: {
  custom: {
    50: '#ec8ce1',
    500: '#de52d4',
    950: '#000000',
  },
}
SCSS
$custom: #de52d4;
$custom-light: #ec8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#de52d4",
  "rgb": {
    "r": 222,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 304.286,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.22588,
    "h": 330.7
  },
  "luminance": 0.26318
}

Semantic roles & 50–950 ramp

primary
#DE52D4
secondary
#ABE1AF
accent
#EB493D
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DE52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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