#E22DE2#E22DE2

#E22DE2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 65.4% C 0.276 H 328.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#E22DE2
RGBrgb(226, 45, 226)
HSLhsl(300, 76%, 53%)
HSVhsv(300, 80%, 89%)
CMYKcmyk(0%, 80.1%, 0%, 11.4%)
CIE-LABlab(55.62, 83.92, -52.40)
CIE-LCHlch(55.62, 98.94, 328.02°)
OKLaboklab(65.43% 0.2344 -0.1454)
OKLCHoklch(65.43% 0.276 328.2)
XYZxyz(46.0294, 23.5400, 74.0561)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E22DE2 #2DE22D
analogous
#872DE2 #E22DE2 #E22D87
triadic
#E22DE2 #E2E22D #2DE2E2
tetradic
#E22DE2 #E2872D #2DE22D #2D87E2
square
#E22DE2 #E2872D #2DE22D #2D87E2
split-complementary
#E22DE2 #87E22D #2DE287
monochromatic
#831283 #B819B8 #E22DE2 #E963E9 #F199F1

Accessibility & contrast

On white

3.68
#E22DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#E22DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E22DE2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E22DE2#FFFFFF#000000##000000
##E22DE21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#648DDE
Tritanopia (blue-blind)
#E94E8A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e22de2;
/* rgb */ color: rgb(226, 45, 226);
/* oklch */ color: oklch(65.4% 0.276 328.2);
Tailwind
colors: {
  custom: {
    50: '#f07dec',
    500: '#e22de2',
    950: '#000000',
  },
}
SCSS
$custom: #e22de2;
$custom-light: #f07dec;
$custom-dark: #000000;
JSON
{
  "hex": "#e22de2",
  "rgb": {
    "r": 226,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 300,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.65427,
    "c": 0.27581,
    "h": 328.2
  },
  "luminance": 0.23537
}

Semantic roles & 50–950 ramp

primary
#E22DE2
secondary
#8EDC8E
accent
#F23535
background
#FFF8FE
surface
#FFEFFD
border
#D7CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #E22DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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