#E252E5#E252E5

#E252E5 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.4% C 0.241 H 327.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#E252E5
RGBrgb(226, 82, 229)
HSLhsl(299, 74%, 61%)
HSVhsv(299, 64%, 90%)
CMYKcmyk(1.3%, 64.2%, 0%, 10.2%)
CIE-LABlab(59.77, 73.04, -47.51)
CIE-LCHlch(59.77, 87.13, 326.96°)
OKLaboklab(68.44% 0.2023 -0.1315)
OKLCHoklch(68.44% 0.241 327)
XYZxyz(48.5234, 27.8637, 76.9360)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252E5 #55E552
analogous
#9952E5 #E252E5 #E5529E
triadic
#E252E5 #E5E252 #52E5E2
tetradic
#E252E5 #E59952 #55E552 #529EE5
square
#E252E5 #E59952 #55E552 #529EE5
split-complementary
#E252E5 #9EE552 #52E599
monochromatic
#A119A4 #D521D9 #E252E5 #EB87ED #F4BCF5

Accessibility & contrast

On white

3.20
#E252E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#E252E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252E5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252E5#FFFFFF#000000##000000
##E252E51.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#7496E1
Tritanopia (blue-blind)
#E86795
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e252e5;
/* rgb */ color: rgb(226, 82, 229);
/* oklch */ color: oklch(68.4% 0.241 327.0);
Tailwind
colors: {
  custom: {
    50: '#ef8dee',
    500: '#e252e5',
    950: '#000000',
  },
}
SCSS
$custom: #e252e5;
$custom-light: #ef8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#e252e5",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 298.776,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.68443,
    "c": 0.24127,
    "h": 327
  },
  "luminance": 0.2786
}

Semantic roles & 50–950 ramp

primary
#E252E5
secondary
#AFE5AE
accent
#D61014
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252E5

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

Preview Lab → · Contrast checker → · Palette generator →

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