#E252E7#E252E7

#E252E7 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.5% C 0.243 H 326.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#E252E7
RGBrgb(226, 82, 231)
HSLhsl(298, 76%, 61%)
HSVhsv(298, 65%, 91%)
CMYKcmyk(2.2%, 64.5%, 0%, 9.4%)
CIE-LABlab(59.87, 73.37, -48.47)
CIE-LCHlch(59.87, 87.93, 326.55°)
OKLaboklab(68.55% 0.2024 -0.1343)
OKLCHoklch(68.55% 0.243 326.4)
XYZxyz(48.8042, 27.9760, 78.4151)
Luminance0.2797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252E7 #57E752
analogous
#9852E7 #E252E7 #E752A2
triadic
#E252E7 #E7E252 #52E7E2
tetradic
#E252E7 #E79852 #57E752 #52A2E7
square
#E252E7 #E79852 #57E752 #52A2E7
split-complementary
#E252E7 #A2E752 #52E798
monochromatic
#A317A7 #D71FDD #E252E7 #EB88EE #F4BDF6

Accessibility & contrast

On white

3.18
#E252E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#E252E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252E7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252E7#FFFFFF#000000##000000
##E252E71.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EB
Deuteranopia (green-blind)
#7297E3
Tritanopia (blue-blind)
#E86796
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e252e7;
/* rgb */ color: rgb(226, 82, 231);
/* oklch */ color: oklch(68.5% 0.243 326.4);
Tailwind
colors: {
  custom: {
    50: '#ef8def',
    500: '#e252e7',
    950: '#000000',
  },
}
SCSS
$custom: #e252e7;
$custom-light: #ef8def;
$custom-dark: #000000;
JSON
{
  "hex": "#e252e7",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 297.987,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68549,
    "c": 0.24287,
    "h": 326.4
  },
  "luminance": 0.27973
}

Semantic roles & 50–950 ramp

primary
#E252E7
secondary
#B0E6AF
accent
#D80E14
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252E7

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

Preview Lab → · Contrast checker → · Palette generator →

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