#E252EB#E252EB

#E252EB is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.8% C 0.246 H 325.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#E252EB
RGBrgb(226, 82, 235)
HSLhsl(296, 79%, 62%)
HSVhsv(296, 65%, 92%)
CMYKcmyk(3.8%, 65.1%, 0%, 7.8%)
CIE-LABlab(60.07, 74.04, -50.38)
CIE-LCHlch(60.07, 89.55, 325.77°)
OKLaboklab(68.76% 0.2025 -0.1398)
OKLCHoklch(68.76% 0.246 325.4)
XYZxyz(49.3756, 28.2046, 81.4245)
Luminance0.2820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252EB #5BEB52
analogous
#9652EB #E252EB #EB52A7
triadic
#E252EB #EBE252 #52EBE2
tetradic
#E252EB #EB9652 #5BEB52 #52A7EB
square
#E252EB #EB9652 #5BEB52 #52A7EB
split-complementary
#E252EB #A7EB52 #52EB96
monochromatic
#A514AE #D91BE5 #E252EB #EB89F1 #F4C0F8

Accessibility & contrast

On white

3.16
#E252EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#E252EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252EB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252EB#FFFFFF#000000##000000
##E252EB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#E76998
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e252eb;
/* rgb */ color: rgb(226, 82, 235);
/* oklch */ color: oklch(68.8% 0.246 325.4);
Tailwind
colors: {
  custom: {
    50: '#ef8df2',
    500: '#e252eb',
    950: '#000000',
  },
}
SCSS
$custom: #e252eb;
$custom-light: #ef8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#e252eb",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 296.471,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68764,
    "c": 0.24605,
    "h": 325.4
  },
  "luminance": 0.28201
}

Semantic roles & 50–950 ramp

primary
#E252EB
secondary
#B4E8B0
accent
#DC0A16
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #E252EB

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

Preview Lab → · Contrast checker → · Palette generator →

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