#A22AA8#A22AA8

#A22AA8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.208 H 325.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A22AA8
RGBrgb(162, 42, 168)
HSLhsl(297, 60%, 41%)
HSVhsv(297, 75%, 66%)
CMYKcmyk(3.6%, 75%, 0%, 34.1%)
CIE-LABlab(41.48, 62.90, -41.94)
CIE-LCHlch(41.48, 75.60, 326.31°)
OKLaboklab(52.3% 0.1726 -0.1166)
OKLCHoklch(52.3% 0.208 325.9)
XYZxyz(22.7957, 12.1660, 38.1858)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA8 #30A82A
analogous
#632AA8 #A22AA8 #A82A6F
triadic
#A22AA8 #A8A22A #2AA8A2
tetradic
#A22AA8 #A8632A #30A82A #2A6FA8
square
#A22AA8 #A8632A #30A82A #2A6FA8
split-complementary
#A22AA8 #6FA82A #2AA863
monochromatic
#441246 #731E77 #A22AA8 #C840CF #D671DB

Accessibility & contrast

On white

6.12
#A22AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A22AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AA8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA8#FFFFFF#000000##FFFFFF
##A22AA81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#A64067
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22aa8;
/* rgb */ color: rgb(162, 42, 168);
/* oklch */ color: oklch(52.3% 0.208 325.9);
Tailwind
colors: {
  custom: {
    50: '#c171c2',
    500: '#a22aa8',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa8;
$custom-light: #c171c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa8",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 297.143,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.20827,
    "h": 325.9
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#A22AA8
secondary
#6FC36B
accent
#E3454C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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