#E252E4#E252E4

#E252E4 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.4% C 0.240 H 327.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#E252E4
RGBrgb(226, 82, 228)
HSLhsl(299, 73%, 61%)
HSVhsv(299, 64%, 89%)
CMYKcmyk(0.9%, 64%, 0%, 10.6%)
CIE-LABlab(59.71, 72.87, -47.03)
CIE-LCHlch(59.71, 86.73, 327.17°)
OKLaboklab(68.39% 0.2023 -0.1301)
OKLCHoklch(68.39% 0.24 327.3)
XYZxyz(48.3842, 27.8080, 76.2028)
Luminance0.2781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252E4 #54E452
analogous
#9952E4 #E252E4 #E4529D
triadic
#E252E4 #E4E252 #52E4E2
tetradic
#E252E4 #E49952 #54E452 #529DE4
square
#E252E4 #E49952 #54E452 #529DE4
split-complementary
#E252E4 #9DE452 #52E499
monochromatic
#A019A2 #D522D7 #E252E4 #EB87EC #F4BCF5

Accessibility & contrast

On white

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

On black

6.56
#E252E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252E4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252E4#FFFFFF#000000##000000
##E252E41.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#7496E0
Tritanopia (blue-blind)
#E86694
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e252e4;
/* rgb */ color: rgb(226, 82, 228);
/* oklch */ color: oklch(68.4% 0.240 327.3);
Tailwind
colors: {
  custom: {
    50: '#ef8ded',
    500: '#e252e4',
    950: '#000000',
  },
}
SCSS
$custom: #e252e4;
$custom-light: #ef8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#e252e4",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 299.178,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6839,
    "c": 0.24048,
    "h": 327.3
  },
  "luminance": 0.27805
}

Semantic roles & 50–950 ramp

primary
#E252E4
secondary
#AEE5AD
accent
#D51013
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252E4

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

Preview Lab → · Contrast checker → · Palette generator →

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