#E052DC#E052DC

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

Color values

HEX#E052DC
RGBrgb(224, 82, 220)
HSLhsl(302, 70%, 60%)
HSVhsv(302, 63%, 88%)
CMYKcmyk(0%, 63.4%, 1.8%, 12.2%)
CIE-LABlab(59.02, 71.10, -43.64)
CIE-LCHlch(59.02, 83.43, 328.46°)
OKLaboklab(67.7% 0.1997 -0.1203)
OKLCHoklch(67.7% 0.233 328.9)
XYZxyz(46.6756, 27.0524, 70.4595)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E052DC #52E056
analogous
#9D52E0 #E052DC #E05295
triadic
#E052DC #DCE052 #52DCE0
tetradic
#E052DC #E09D52 #52E056 #5295E0
square
#E052DC #E09D52 #52E056 #5295E0
split-complementary
#E052DC #95E052 #52E09D
monochromatic
#9C1C98 #D025CB #E052DC #E986E7 #F3BAF1

Accessibility & contrast

On white

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

On black

6.41
#E052DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E052DC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E052DC#FFFFFF#000000##000000
##E052DC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#7795D8
Tritanopia (blue-blind)
#E76390
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e052dc;
/* rgb */ color: rgb(224, 82, 220);
/* oklch */ color: oklch(67.7% 0.233 328.9);
Tailwind
colors: {
  custom: {
    50: '#ed8ce7',
    500: '#e052dc',
    950: '#000000',
  },
}
SCSS
$custom: #e052dc;
$custom-light: #ed8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#e052dc",
  "rgb": {
    "r": 224,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 301.69,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.67702,
    "c": 0.23317,
    "h": 328.9
  },
  "luminance": 0.27049
}

Semantic roles & 50–950 ramp

primary
#E052DC
secondary
#ACE2AD
accent
#EC403B
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E052DC

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

Preview Lab → · Contrast checker → · Palette generator →

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