#A22EB6#A22EB6

#A22EB6 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.215 H 321.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A22EB6
RGBrgb(162, 46, 182)
HSLhsl(291, 60%, 45%)
HSVhsv(291, 75%, 71%)
CMYKcmyk(11%, 74.7%, 0%, 28.6%)
CIE-LABlab(42.78, 64.05, -48.15)
CIE-LCHlch(42.78, 80.13, 323.06°)
OKLaboklab(53.5% 0.1681 -0.1348)
OKLCHoklch(53.5% 0.215 321.3)
XYZxyz(24.3198, 13.0141, 45.4779)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EB6 #42B62E
analogous
#5E2EB6 #A22EB6 #B62E86
triadic
#A22EB6 #B6A22E #2EB6A2
tetradic
#A22EB6 #B65E2E #42B62E #2E86B6
square
#A22EB6 #B65E2E #42B62E #2E86B6
split-complementary
#A22EB6 #86B62E #2EB65E
monochromatic
#4B1554 #772285 #A22EB6 #BF4FD2 #D180DF

Accessibility & contrast

On white

5.83
#A22EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A22EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EB6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EB6#FFFFFF#000000##FFFFFF
##A22EB61.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#3F69B3
Tritanopia (blue-blind)
#A34970
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22eb6;
/* rgb */ color: rgb(162, 46, 182);
/* oklch */ color: oklch(53.5% 0.215 321.3);
Tailwind
colors: {
  custom: {
    50: '#c173cc',
    500: '#a22eb6',
    950: '#000000',
  },
}
SCSS
$custom: #a22eb6;
$custom-light: #c173cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22eb6",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 291.176,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.21548,
    "h": 321.3
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#A22EB6
secondary
#84C878
accent
#E3455C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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