#DE52E1#DE52E1

#DE52E1 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.236 H 326.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#DE52E1
RGBrgb(222, 82, 225)
HSLhsl(299, 70%, 60%)
HSVhsv(299, 64%, 88%)
CMYKcmyk(1.3%, 63.6%, 0%, 11.8%)
CIE-LABlab(58.98, 71.45, -46.55)
CIE-LCHlch(58.98, 85.28, 326.92°)
OKLaboklab(67.69% 0.1979 -0.1288)
OKLCHoklch(67.69% 0.236 326.9)
XYZxyz(46.7313, 27.0035, 73.9704)
Luminance0.2700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE52E1 #55E152
analogous
#9652E1 #DE52E1 #E1529D
triadic
#DE52E1 #E1DE52 #52E1DE
tetradic
#DE52E1 #E19652 #55E152 #529DE1
square
#DE52E1 #E19652 #55E152 #529DE1
split-complementary
#DE52E1 #9DE152 #52E196
monochromatic
#9B1B9D #CE24D1 #DE52E1 #E886EA #F2BAF3

Accessibility & contrast

On white

3.28
#DE52E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#DE52E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE52E1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE52E1#FFFFFF#000000##000000
##DE52E11.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C82E5
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#E46693
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #de52e1;
/* rgb */ color: rgb(222, 82, 225);
/* oklch */ color: oklch(67.7% 0.236 326.9);
Tailwind
colors: {
  custom: {
    50: '#ec8ceb',
    500: '#de52e1',
    950: '#000000',
  },
}
SCSS
$custom: #de52e1;
$custom-light: #ec8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#de52e1",
  "rgb": {
    "r": 222,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 298.741,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67691,
    "c": 0.23609,
    "h": 326.9
  },
  "luminance": 0.27
}

Semantic roles & 50–950 ramp

primary
#DE52E1
secondary
#ADE3AC
accent
#D21317
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DE52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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