#A22AB7#A22AB7

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

Color values

HEX#A22AB7
RGBrgb(162, 42, 183)
HSLhsl(291, 63%, 44%)
HSVhsv(291, 77%, 72%)
CMYKcmyk(11.5%, 77%, 0%, 28.2%)
CIE-LABlab(42.40, 65.52, -49.36)
CIE-LCHlch(42.40, 82.04, 323.01°)
OKLaboklab(53.24% 0.1715 -0.1383)
OKLCHoklch(53.24% 0.22 321.1)
XYZxyz(24.2745, 12.7575, 45.9744)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AB7 #3FB72A
analogous
#5C2AB7 #A22AB7 #B72A86
triadic
#A22AB7 #B7A22A #2AB7A2
tetradic
#A22AB7 #B75C2A #3FB72A #2A86B7
square
#A22AB7 #B75C2A #3FB72A #2A86B7
split-complementary
#A22AB7 #86B72A #2AB75C
monochromatic
#4A1353 #761F85 #A22AB7 #C049D5 #D17BE1

Accessibility & contrast

On white

5.91
#A22AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A22AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AB7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AB7#FFFFFF#000000##FFFFFF
##A22AB71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3C68B4
Tritanopia (blue-blind)
#A34770
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22ab7;
/* rgb */ color: rgb(162, 42, 183);
/* oklch */ color: oklch(53.2% 0.220 321.1);
Tailwind
colors: {
  custom: {
    50: '#c272cd',
    500: '#a22ab7',
    950: '#000000',
  },
}
SCSS
$custom: #a22ab7;
$custom-light: #c272cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ab7",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 291.064,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.22032,
    "h": 321.1
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#A22AB7
secondary
#81C974
accent
#E6425A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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