#A22EB4#A22EB4

#A22EB4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.214 H 321.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A22EB4
RGBrgb(162, 46, 180)
HSLhsl(292, 59%, 44%)
HSVhsv(292, 74%, 71%)
CMYKcmyk(10%, 74.4%, 0%, 29.4%)
CIE-LABlab(42.66, 63.68, -47.17)
CIE-LCHlch(42.66, 79.25, 323.47°)
OKLaboklab(53.37% 0.1683 -0.1319)
OKLCHoklch(53.37% 0.214 321.9)
XYZxyz(24.1146, 12.9320, 44.3971)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EB4 #40B42E
analogous
#5F2EB4 #A22EB4 #B42E83
triadic
#A22EB4 #B4A22E #2EB4A2
tetradic
#A22EB4 #B45F2E #40B42E #2E83B4
square
#A22EB4 #B45F2E #40B42E #2E83B4
split-complementary
#A22EB4 #83B42E #2EB45F
monochromatic
#4A1553 #762283 #A22EB4 #C04ED2 #D17EDE

Accessibility & contrast

On white

5.86
#A22EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A22EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EB4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EB4#FFFFFF#000000##FFFFFF
##A22EB41.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#4169B1
Tritanopia (blue-blind)
#A4486F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22eb4;
/* rgb */ color: rgb(162, 46, 180);
/* oklch */ color: oklch(53.4% 0.214 321.9);
Tailwind
colors: {
  custom: {
    50: '#c173cb',
    500: '#a22eb4',
    950: '#000000',
  },
}
SCSS
$custom: #a22eb4;
$custom-light: #c173cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a22eb4",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 291.94,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5337,
    "c": 0.21382,
    "h": 321.9
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

primary
#A22EB4
secondary
#82C777
accent
#E2455A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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