#E252E6#E252E6

#E252E6 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.5% C 0.242 H 326.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#E252E6
RGBrgb(226, 82, 230)
HSLhsl(298, 75%, 61%)
HSVhsv(298, 64%, 90%)
CMYKcmyk(1.7%, 64.3%, 0%, 9.8%)
CIE-LABlab(59.82, 73.20, -47.99)
CIE-LCHlch(59.82, 87.53, 326.75°)
OKLaboklab(68.5% 0.2023 -0.1329)
OKLCHoklch(68.5% 0.242 326.7)
XYZxyz(48.6634, 27.9197, 77.6735)
Luminance0.2792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252E6 #56E652
analogous
#9852E6 #E252E6 #E652A0
triadic
#E252E6 #E6E252 #52E6E2
tetradic
#E252E6 #E69852 #56E652 #52A0E6
square
#E252E6 #E69852 #56E652 #52A0E6
split-complementary
#E252E6 #A0E652 #52E698
monochromatic
#A218A6 #D620DB #E252E6 #EB87EE #F4BDF5

Accessibility & contrast

On white

3.19
#E252E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#E252E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252E6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252E6#FFFFFF#000000##000000
##E252E61.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A84EA
Deuteranopia (green-blind)
#7397E2
Tritanopia (blue-blind)
#E86795
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e252e6;
/* rgb */ color: rgb(226, 82, 230);
/* oklch */ color: oklch(68.5% 0.242 326.7);
Tailwind
colors: {
  custom: {
    50: '#ef8dee',
    500: '#e252e6',
    950: '#000000',
  },
}
SCSS
$custom: #e252e6;
$custom-light: #ef8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#e252e6",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 298.378,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.68496,
    "c": 0.24207,
    "h": 326.7
  },
  "luminance": 0.27917
}

Semantic roles & 50–950 ramp

primary
#E252E6
secondary
#B0E6AE
accent
#D70F14
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252E6

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

Preview Lab → · Contrast checker → · Palette generator →

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