#A22AB6#A22AB6

#A22AB6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.220 H 321.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A22AB6
RGBrgb(162, 42, 182)
HSLhsl(291, 63%, 44%)
HSVhsv(291, 77%, 71%)
CMYKcmyk(11%, 76.9%, 0%, 28.6%)
CIE-LABlab(42.33, 65.34, -48.87)
CIE-LCHlch(42.33, 81.60, 323.21°)
OKLaboklab(53.18% 0.1716 -0.1369)
OKLCHoklch(53.18% 0.22 321.4)
XYZxyz(24.1708, 12.7161, 45.4282)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AB6 #3EB62A
analogous
#5C2AB6 #A22AB6 #B62A84
triadic
#A22AB6 #B6A22A #2AB6A2
tetradic
#A22AB6 #B65C2A #3EB62A #2A84B6
square
#A22AB6 #B65C2A #3EB62A #2A84B6
split-complementary
#A22AB6 #84B62A #2AB65C
monochromatic
#491353 #761F84 #A22AB6 #C148D5 #D27AE0

Accessibility & contrast

On white

5.93
#A22AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A22AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AB6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AB6#FFFFFF#000000##FFFFFF
##A22AB61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#3D68B3
Tritanopia (blue-blind)
#A3476F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22ab6;
/* rgb */ color: rgb(162, 42, 182);
/* oklch */ color: oklch(53.2% 0.220 321.4);
Tailwind
colors: {
  custom: {
    50: '#c271cc',
    500: '#a22ab6',
    950: '#000000',
  },
}
SCSS
$custom: #a22ab6;
$custom-light: #c271cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ab6",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 291.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53177,
    "c": 0.21951,
    "h": 321.4
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#A22AB6
secondary
#80C873
accent
#E6425A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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