#DE52E4#DE52E4

#DE52E4 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.9% C 0.238 H 326.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#DE52E4
RGBrgb(222, 82, 228)
HSLhsl(298, 73%, 61%)
HSVhsv(298, 64%, 89%)
CMYKcmyk(2.6%, 64%, 0%, 10.6%)
CIE-LABlab(59.13, 71.96, -47.99)
CIE-LCHlch(59.13, 86.49, 326.30°)
OKLaboklab(67.85% 0.198 -0.133)
OKLCHoklch(67.85% 0.239 326.1)
XYZxyz(47.1442, 27.1686, 76.1447)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE52E4 #58E452
analogous
#9552E4 #DE52E4 #E452A1
triadic
#DE52E4 #E4DE52 #52E4DE
tetradic
#DE52E4 #E49552 #58E452 #52A1E4
square
#DE52E4 #E49552 #58E452 #52A1E4
split-complementary
#DE52E4 #A1E452 #52E495
monochromatic
#9D19A2 #D022D7 #DE52E4 #E887EC #F2BCF5

Accessibility & contrast

On white

3.26
#DE52E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#DE52E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE52E4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE52E4#FFFFFF#000000##000000
##DE52E41.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E8
Deuteranopia (green-blind)
#7194E0
Tritanopia (blue-blind)
#E36794
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #de52e4;
/* rgb */ color: rgb(222, 82, 228);
/* oklch */ color: oklch(67.9% 0.238 326.1);
Tailwind
colors: {
  custom: {
    50: '#ec8ced',
    500: '#de52e4',
    950: '#000000',
  },
}
SCSS
$custom: #de52e4;
$custom-light: #ec8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#de52e4",
  "rgb": {
    "r": 222,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 297.534,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67851,
    "c": 0.2385,
    "h": 326.1
  },
  "luminance": 0.27166
}

Semantic roles & 50–950 ramp

primary
#DE52E4
secondary
#B0E5AD
accent
#D51018
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DE52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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