#E22BC7#E22BC7

#E22BC7 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.9% C 0.259 H 335.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#E22BC7
RGBrgb(226, 43, 199)
HSLhsl(309, 76%, 53%)
HSVhsv(309, 81%, 89%)
CMYKcmyk(0%, 81%, 11.9%, 11.4%)
CIE-LABlab(54.05, 80.51, -39.49)
CIE-LCHlch(54.05, 89.67, 333.87°)
OKLaboklab(63.85% 0.2358 -0.1081)
OKLCHoklch(63.85% 0.259 335.4)
XYZxyz(42.5374, 22.0240, 56.0326)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E22BC7 #2BE246
analogous
#A12BE2 #E22BC7 #E22B6C
triadic
#E22BC7 #C7E22B #2BC7E2
tetradic
#E22BC7 #E2A12B #2BE246 #2B6CE2
square
#E22BC7 #E2A12B #2BE246 #2B6CE2
split-complementary
#E22BC7 #6CE22B #2BE2A1
monochromatic
#811271 #B719A0 #E22BC7 #E961D5 #F197E3

Accessibility & contrast

On white

3.89
#E22BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#E22BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E22BC7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E22BC7#FFFFFF#000000##000000
##E22BC71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#738BC3
Tritanopia (blue-blind)
#ED3D7A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #e22bc7;
/* rgb */ color: rgb(226, 43, 199);
/* oklch */ color: oklch(63.9% 0.259 335.4);
Tailwind
colors: {
  custom: {
    50: '#f07cd8',
    500: '#e22bc7',
    950: '#000000',
  },
}
SCSS
$custom: #e22bc7;
$custom-light: #f07cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#e22bc7",
  "rgb": {
    "r": 226,
    "g": 43,
    "b": 199
  },
  "hsl": {
    "h": 308.852,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.63851,
    "c": 0.25934,
    "h": 335.4
  },
  "luminance": 0.2202
}

Semantic roles & 50–950 ramp

primary
#E22BC7
secondary
#8DDC98
accent
#F35135
background
#FFF8FD
surface
#FFEFFA
border
#D7CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #E22BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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