#EA52E7#EA52E7

#EA52E7 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.6% C 0.247 H 328.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#EA52E7
RGBrgb(234, 82, 231)
HSLhsl(301, 78%, 62%)
HSVhsv(301, 65%, 92%)
CMYKcmyk(0%, 65%, 1.3%, 8.2%)
CIE-LABlab(61.05, 75.19, -46.53)
CIE-LCHlch(61.05, 88.42, 328.25°)
OKLaboklab(69.63% 0.2108 -0.1284)
OKLCHoklch(69.63% 0.247 328.6)
XYZxyz(51.3722, 29.3001, 78.5355)
Luminance0.2930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA52E7 #52EA55
analogous
#A152EA #EA52E7 #EA529B
triadic
#EA52E7 #E7EA52 #52E7EA
tetradic
#EA52E7 #EAA152 #52EA55 #529BEA
square
#EA52E7 #EAA152 #52EA55 #529BEA
split-complementary
#EA52E7 #9BEA52 #52EAA1
monochromatic
#AD15AA #E31CDF #EA52E7 #F189EF #F7BFF6

Accessibility & contrast

On white

3.06
#EA52E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#EA52E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA52E7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA52E7#FFFFFF#000000##000000
##EA52E71.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#799AE3
Tritanopia (blue-blind)
#F16696
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ea52e7;
/* rgb */ color: rgb(234, 82, 231);
/* oklch */ color: oklch(69.6% 0.247 328.6);
Tailwind
colors: {
  custom: {
    50: '#f48eef',
    500: '#ea52e7',
    950: '#000000',
  },
}
SCSS
$custom: #ea52e7;
$custom-light: #f48eef;
$custom-dark: #000000;
JSON
{
  "hex": "#ea52e7",
  "rgb": {
    "r": 234,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 301.184,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.69633,
    "c": 0.24685,
    "h": 328.6
  },
  "luminance": 0.29297
}

Semantic roles & 50–950 ramp

primary
#EA52E7
secondary
#B0E8B1
accent
#DB0F0B
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EA52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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