#A22AA9#A22AA9

#A22AA9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.209 H 325.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A22AA9
RGBrgb(162, 42, 169)
HSLhsl(297, 60%, 41%)
HSVhsv(297, 75%, 66%)
CMYKcmyk(4.1%, 75.1%, 0%, 33.7%)
CIE-LABlab(41.54, 63.07, -42.44)
CIE-LCHlch(41.54, 76.02, 326.06°)
OKLaboklab(52.36% 0.1725 -0.1181)
OKLCHoklch(52.36% 0.209 325.6)
XYZxyz(22.8892, 12.2034, 38.6783)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA9 #31A92A
analogous
#632AA9 #A22AA9 #A92A71
triadic
#A22AA9 #A9A22A #2AA9A2
tetradic
#A22AA9 #A9632A #31A92A #2A71A9
square
#A22AA9 #A9632A #31A92A #2A71A9
split-complementary
#A22AA9 #71A92A #2AA963
monochromatic
#441247 #731E78 #A22AA9 #C841D0 #D672DC

Accessibility & contrast

On white

6.10
#A22AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A22AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AA9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA9#FFFFFF#000000##FFFFFF
##A22AA91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#A64068
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22aa9;
/* rgb */ color: rgb(162, 42, 169);
/* oklch */ color: oklch(52.4% 0.209 325.6);
Tailwind
colors: {
  custom: {
    50: '#c171c3',
    500: '#a22aa9',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa9;
$custom-light: #c171c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa9",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 296.693,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.20908,
    "h": 325.6
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#A22AA9
secondary
#71C36C
accent
#E3444D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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