#DE52EB#DE52EB

#DE52EB is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.2% C 0.244 H 324.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#DE52EB
RGBrgb(222, 82, 235)
HSLhsl(295, 79%, 62%)
HSVhsv(295, 65%, 92%)
CMYKcmyk(5.5%, 65.1%, 0%, 7.8%)
CIE-LABlab(59.49, 73.14, -51.33)
CIE-LCHlch(59.49, 89.36, 324.94°)
OKLaboklab(68.23% 0.1982 -0.1427)
OKLCHoklch(68.23% 0.244 324.2)
XYZxyz(48.1356, 27.5652, 81.3664)
Luminance0.2756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE52EB #5FEB52
analogous
#9252EB #DE52EB #EB52AC
triadic
#DE52EB #EBDE52 #52EBDE
tetradic
#DE52EB #EB9252 #5FEB52 #52ACEB
square
#DE52EB #EB9252 #5FEB52 #52ACEB
split-complementary
#DE52EB #ACEB52 #52EB92
monochromatic
#A114AE #D41BE5 #DE52EB #E889F1 #F3C0F8

Accessibility & contrast

On white

3.22
#DE52EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#DE52EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE52EB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE52EB#FFFFFF#000000##000000
##DE52EB1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#6D95E7
Tritanopia (blue-blind)
#E26A98
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #de52eb;
/* rgb */ color: rgb(222, 82, 235);
/* oklch */ color: oklch(68.2% 0.244 324.2);
Tailwind
colors: {
  custom: {
    50: '#ec8df2',
    500: '#de52eb',
    950: '#000000',
  },
}
SCSS
$custom: #de52eb;
$custom-light: #ec8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#de52eb",
  "rgb": {
    "r": 222,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 294.902,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68231,
    "c": 0.24417,
    "h": 324.2
  },
  "luminance": 0.27562
}

Semantic roles & 50–950 ramp

primary
#DE52EB
secondary
#B5E8B0
accent
#DC0A1C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #DE52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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