#EB52E4#EB52E4

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

Color values

HEX#EB52E4
RGBrgb(235, 82, 228)
HSLhsl(303, 79%, 62%)
HSVhsv(303, 65%, 92%)
CMYKcmyk(0%, 65.1%, 3%, 7.8%)
CIE-LABlab(61.05, 74.95, -44.83)
CIE-LCHlch(61.05, 87.33, 329.11°)
OKLaboklab(69.62% 0.2117 -0.1235)
OKLCHoklch(69.62% 0.245 329.7)
XYZxyz(51.2815, 29.3019, 76.3386)
Luminance0.2930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB52E4 #52EB59
analogous
#A652EB #EB52E4 #EB5298
triadic
#EB52E4 #E4EB52 #52E4EB
tetradic
#EB52E4 #EBA652 #52EB59 #5298EB
square
#EB52E4 #EBA652 #52EB59 #5298EB
split-complementary
#EB52E4 #98EB52 #52EBA6
monochromatic
#AE14A7 #E51BDB #EB52E4 #F189ED #F8C0F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB52E4#FFFFFF#000000##000000
##EB52E41.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)
#4386E8
Deuteranopia (green-blind)
#7C9BE0
Tritanopia (blue-blind)
#F36494
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #eb52e4;
/* rgb */ color: rgb(235, 82, 228);
/* oklch */ color: oklch(69.6% 0.245 329.7);
Tailwind
colors: {
  custom: {
    50: '#f58eed',
    500: '#eb52e4',
    950: '#000000',
  },
}
SCSS
$custom: #eb52e4;
$custom-light: #f58eed;
$custom-dark: #000000;
JSON
{
  "hex": "#eb52e4",
  "rgb": {
    "r": 235,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 302.745,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.69616,
    "c": 0.24509,
    "h": 329.7
  },
  "luminance": 0.29298
}

Semantic roles & 50–950 ramp

primary
#EB52E4
secondary
#B0E8B3
accent
#DC140A
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EB52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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