#A22AB5#A22AB5

#A22AB5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.219 H 321.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A22AB5
RGBrgb(162, 42, 181)
HSLhsl(292, 62%, 44%)
HSVhsv(292, 77%, 71%)
CMYKcmyk(10.5%, 76.8%, 0%, 29%)
CIE-LABlab(42.27, 65.17, -48.38)
CIE-LCHlch(42.27, 81.16, 323.41°)
OKLaboklab(53.11% 0.1717 -0.1355)
OKLCHoklch(53.11% 0.219 321.7)
XYZxyz(24.0678, 12.6749, 44.8859)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AB5 #3DB52A
analogous
#5C2AB5 #A22AB5 #B52A82
triadic
#A22AB5 #B5A22A #2AB5A2
tetradic
#A22AB5 #B55C2A #3DB52A #2A82B5
square
#A22AB5 #B55C2A #3DB52A #2A82B5
split-complementary
#A22AB5 #82B52A #2AB55C
monochromatic
#491352 #761E83 #A22AB5 #C148D4 #D279E0

Accessibility & contrast

On white

5.94
#A22AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A22AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AB5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AB5#FFFFFF#000000##FFFFFF
##A22AB51.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#A4466F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22ab5;
/* rgb */ color: rgb(162, 42, 181);
/* oklch */ color: oklch(53.1% 0.219 321.7);
Tailwind
colors: {
  custom: {
    50: '#c271cc',
    500: '#a22ab5',
    950: '#000000',
  },
}
SCSS
$custom: #a22ab5;
$custom-light: #c271cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ab5",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 291.799,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.2187,
    "h": 321.7
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#A22AB5
secondary
#7EC873
accent
#E54259
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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