#A22AA4#A22AA4

#A22AA4 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.205 H 327.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A22AA4
RGBrgb(162, 42, 164)
HSLhsl(299, 59%, 40%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.2%, 74.4%, 0%, 35.7%)
CIE-LABlab(41.25, 62.22, -39.92)
CIE-LCHlch(41.25, 73.93, 327.32°)
OKLaboklab(52.06% 0.1727 -0.1108)
OKLCHoklch(52.06% 0.205 327.3)
XYZxyz(22.4288, 12.0192, 36.2534)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA4 #2CA42A
analogous
#652AA4 #A22AA4 #A42A69
triadic
#A22AA4 #A4A22A #2AA4A2
tetradic
#A22AA4 #A4652A #2CA42A #2A69A4
square
#A22AA4 #A4652A #2CA42A #2A69A4
split-complementary
#A22AA4 #69A42A #2AA465
monochromatic
#421143 #721E73 #A22AA4 #CB3ECD #D86EDA

Accessibility & contrast

On white

6.17
#A22AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A22AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AA4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA4#FFFFFF#000000##FFFFFF
##A22AA41.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A7
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#A73E65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22aa4;
/* rgb */ color: rgb(162, 42, 164);
/* oklch */ color: oklch(52.1% 0.205 327.3);
Tailwind
colors: {
  custom: {
    50: '#c171bf',
    500: '#a22aa4',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa4;
$custom-light: #c171bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa4",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 299.016,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.20513,
    "h": 327.3
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#A22AA4
secondary
#6AC169
accent
#E24548
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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