#E252D8#E252D8

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

Color values

HEX#E252D8
RGBrgb(226, 82, 216)
HSLhsl(304, 71%, 60%)
HSVhsv(304, 64%, 89%)
CMYKcmyk(0%, 63.7%, 4.4%, 11.4%)
CIE-LABlab(59.13, 70.94, -41.20)
CIE-LCHlch(59.13, 82.03, 329.85°)
OKLaboklab(67.77% 0.2015 -0.1132)
OKLCHoklch(67.77% 0.231 330.7)
XYZxyz(46.7758, 27.1646, 67.7321)
Luminance0.2716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252D8 #52E25C
analogous
#A452E2 #E252D8 #E25290
triadic
#E252D8 #D8E252 #52D8E2
tetradic
#E252D8 #E2A452 #52E25C #5290E2
square
#E252D8 #E2A452 #52E25C #5290E2
split-complementary
#E252D8 #90E252 #52E2A4
monochromatic
#9F1B96 #D323C7 #E252D8 #EB86E4 #F4BBF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E252D8#FFFFFF#000000##000000
##E252D81.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)
#4882DC
Deuteranopia (green-blind)
#7A95D4
Tritanopia (blue-blind)
#EA618E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e252d8;
/* rgb */ color: rgb(226, 82, 216);
/* oklch */ color: oklch(67.8% 0.231 330.7);
Tailwind
colors: {
  custom: {
    50: '#ef8ce4',
    500: '#e252d8',
    950: '#000000',
  },
}
SCSS
$custom: #e252d8;
$custom-light: #ef8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#e252d8",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 304.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67773,
    "c": 0.23116,
    "h": 330.7
  },
  "luminance": 0.27161
}

Semantic roles & 50–950 ramp

primary
#E252D8
secondary
#ACE3B0
accent
#D32012
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #E252D8

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

Preview Lab → · Contrast checker → · Palette generator →

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