#A22AA6#A22AA6

#A22AA6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.207 H 326.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A22AA6
RGBrgb(162, 42, 166)
HSLhsl(298, 60%, 41%)
HSVhsv(298, 75%, 65%)
CMYKcmyk(2.4%, 74.7%, 0%, 34.9%)
CIE-LABlab(41.36, 62.56, -40.93)
CIE-LCHlch(41.36, 74.76, 326.80°)
OKLaboklab(52.18% 0.1726 -0.1137)
OKLCHoklch(52.18% 0.207 326.6)
XYZxyz(22.6108, 12.0921, 37.2121)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA6 #2EA62A
analogous
#642AA6 #A22AA6 #A62A6C
triadic
#A22AA6 #A6A22A #2AA6A2
tetradic
#A22AA6 #A6642A #2EA62A #2A6CA6
square
#A22AA6 #A6642A #2EA62A #2A6CA6
split-complementary
#A22AA6 #6CA62A #2AA664
monochromatic
#431144 #721E75 #A22AA6 #CA3FCE #D770DB

Accessibility & contrast

On white

6.14
#A22AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A22AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AA6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA6#FFFFFF#000000##FFFFFF
##A22AA61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0458A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#A63F66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22aa6;
/* rgb */ color: rgb(162, 42, 166);
/* oklch */ color: oklch(52.2% 0.207 326.6);
Tailwind
colors: {
  custom: {
    50: '#c171c1',
    500: '#a22aa6',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa6;
$custom-light: #c171c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa6",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 298.065,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.20671,
    "h": 326.6
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#A22AA6
secondary
#6DC26A
accent
#E3454A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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