#A22AA1#A22AA1

#A22AA1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.203 H 328.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A22AA1
RGBrgb(162, 42, 161)
HSLhsl(301, 59%, 40%)
HSVhsv(301, 74%, 64%)
CMYKcmyk(0%, 74.1%, 0.6%, 36.5%)
CIE-LABlab(41.08, 61.72, -38.39)
CIE-LCHlch(41.08, 72.69, 328.12°)
OKLaboklab(51.88% 0.1727 -0.1063)
OKLCHoklch(51.88% 0.203 328.4)
XYZxyz(22.1610, 11.9122, 34.8434)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA1 #2AA22B
analogous
#672AA2 #A22AA1 #A22A65
triadic
#A22AA1 #A1A22A #2AA1A2
tetradic
#A22AA1 #A2672A #2AA22B #2A65A2
square
#A22AA1 #A2672A #2AA22B #2A65A2
split-complementary
#A22AA1 #65A22A #2AA267
monochromatic
#411140 #711D71 #A22AA1 #CD3DCB #D96DD8

Accessibility & contrast

On white

6.21
#A22AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A22AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AA1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA1#FFFFFF#000000##FFFFFF
##A22AA11.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A4
Deuteranopia (green-blind)
#4C669E
Tritanopia (blue-blind)
#A73C63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22aa1;
/* rgb */ color: rgb(162, 42, 161);
/* oklch */ color: oklch(51.9% 0.203 328.4);
Tailwind
colors: {
  custom: {
    50: '#c171bd',
    500: '#a22aa1',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa1;
$custom-light: #c171bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa1",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 300.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.5188,
    "c": 0.2028,
    "h": 328.4
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#A22AA1
secondary
#68C069
accent
#E24746
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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