#A22AA5#A22AA5

#A22AA5 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.206 H 327.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A22AA5
RGBrgb(162, 42, 165)
HSLhsl(299, 59%, 41%)
HSVhsv(299, 75%, 65%)
CMYKcmyk(1.8%, 74.5%, 0%, 35.3%)
CIE-LABlab(41.30, 62.39, -40.43)
CIE-LCHlch(41.30, 74.34, 327.06°)
OKLaboklab(52.12% 0.1726 -0.1122)
OKLCHoklch(52.12% 0.206 327)
XYZxyz(22.5194, 12.0555, 36.7309)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA5 #2DA52A
analogous
#652AA5 #A22AA5 #A52A6A
triadic
#A22AA5 #A5A22A #2AA5A2
tetradic
#A22AA5 #A5652A #2DA52A #2A6AA5
square
#A22AA5 #A5652A #2DA52A #2A6AA5
split-complementary
#A22AA5 #6AA52A #2AA565
monochromatic
#421143 #721E74 #A22AA5 #CA3ECE #D86FDA

Accessibility & contrast

On white

6.16
#A22AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A22AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AA5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA5#FFFFFF#000000##FFFFFF
##A22AA51.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A8
Deuteranopia (green-blind)
#4967A2
Tritanopia (blue-blind)
#A73E66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22aa5;
/* rgb */ color: rgb(162, 42, 165);
/* oklch */ color: oklch(52.1% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#c171c0',
    500: '#a22aa5',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa5;
$custom-light: #c171c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa5",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 298.537,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.20591,
    "h": 327
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#A22AA5
secondary
#6CC169
accent
#E34549
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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