#E22CD1#E22CD1

#E22CD1 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.4% C 0.265 H 332.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#E22CD1
RGBrgb(226, 44, 209)
HSLhsl(306, 76%, 53%)
HSVhsv(306, 81%, 89%)
CMYKcmyk(0%, 80.5%, 7.5%, 11.4%)
CIE-LABlab(54.63, 81.67, -44.31)
CIE-LCHlch(54.63, 92.91, 331.52°)
OKLaboklab(64.43% 0.2354 -0.122)
OKLCHoklch(64.43% 0.265 332.6)
XYZxyz(43.7736, 22.5774, 62.3617)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E22CD1 #2CE23D
analogous
#982CE2 #E22CD1 #E22C76
triadic
#E22CD1 #D1E22C #2CD1E2
tetradic
#E22CD1 #E2982C #2CE23D #2C76E2
square
#E22CD1 #E2982C #2CE23D #2C76E2
split-complementary
#E22CD1 #76E22C #2CE298
monochromatic
#821277 #B819A9 #E22CD1 #E962DD #F198E8

Accessibility & contrast

On white

3.81
#E22CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#E22CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E22CD1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E22CD1#FFFFFF#000000##000000
##E22CD11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C73D5
Deuteranopia (green-blind)
#6E8BCD
Tritanopia (blue-blind)
#EC4480
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e22cd1;
/* rgb */ color: rgb(226, 44, 209);
/* oklch */ color: oklch(64.4% 0.265 332.6);
Tailwind
colors: {
  custom: {
    50: '#f07cdf',
    500: '#e22cd1',
    950: '#000000',
  },
}
SCSS
$custom: #e22cd1;
$custom-light: #f07cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#e22cd1",
  "rgb": {
    "r": 226,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 305.604,
    "s": 75.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.26507,
    "h": 332.6
  },
  "luminance": 0.22574
}

Semantic roles & 50–950 ramp

primary
#E22CD1
secondary
#8EDC95
accent
#F24735
background
#FFF8FD
surface
#FFEFFB
border
#D7CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #E22CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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