#E22FE2#E22FE2

#E22FE2 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 65.5% C 0.274 H 328.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#E22FE2
RGBrgb(226, 47, 226)
HSLhsl(300, 76%, 54%)
HSVhsv(300, 79%, 89%)
CMYKcmyk(0%, 79.2%, 0%, 11.4%)
CIE-LABlab(55.78, 83.46, -52.14)
CIE-LCHlch(55.78, 98.41, 328.00°)
OKLaboklab(65.54% 0.2331 -0.1447)
OKLCHoklch(65.54% 0.274 328.2)
XYZxyz(46.1075, 23.6963, 74.0822)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E22FE2 #2FE22F
analogous
#882FE2 #E22FE2 #E22F88
triadic
#E22FE2 #E2E22F #2FE2E2
tetradic
#E22FE2 #E2882F #2FE22F #2F88E2
square
#E22FE2 #E2882F #2FE22F #2F88E2
split-complementary
#E22FE2 #88E22F #2FE288
monochromatic
#841284 #BA1ABA #E22FE2 #E965E9 #F19AF1

Accessibility & contrast

On white

3.66
#E22FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#E22FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E22FE2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E22FE2#FFFFFF#000000##000000
##E22FE21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#658DDE
Tritanopia (blue-blind)
#E94F8A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e22fe2;
/* rgb */ color: rgb(226, 47, 226);
/* oklch */ color: oklch(65.5% 0.274 328.2);
Tailwind
colors: {
  custom: {
    50: '#f07eec',
    500: '#e22fe2',
    950: '#000000',
  },
}
SCSS
$custom: #e22fe2;
$custom-light: #f07eec;
$custom-dark: #000000;
JSON
{
  "hex": "#e22fe2",
  "rgb": {
    "r": 226,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 300,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.65539,
    "c": 0.27433,
    "h": 328.2
  },
  "luminance": 0.23693
}

Semantic roles & 50–950 ramp

primary
#E22FE2
secondary
#90DD90
accent
#F23636
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #E22FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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