#A22AA0#A22AA0

#A22AA0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.202 H 328.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A22AA0
RGBrgb(162, 42, 160)
HSLhsl(301, 59%, 40%)
HSVhsv(301, 74%, 64%)
CMYKcmyk(0%, 74.1%, 1.2%, 36.5%)
CIE-LABlab(41.02, 61.56, -37.88)
CIE-LCHlch(41.02, 72.28, 328.39°)
OKLaboklab(51.82% 0.1727 -0.1048)
OKLCHoklch(51.82% 0.202 328.7)
XYZxyz(22.0732, 11.8770, 34.3808)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA0 #2AA22C
analogous
#682AA2 #A22AA0 #A22A64
triadic
#A22AA0 #A0A22A #2AA0A2
tetradic
#A22AA0 #A2682A #2AA22C #2A64A2
square
#A22AA0 #A2682A #2AA22C #2A64A2
split-complementary
#A22AA0 #64A22A #2AA268
monochromatic
#411140 #711D70 #A22AA0 #CD3DCA #D96DD7

Accessibility & contrast

On white

6.22
#A22AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22AA0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA0#FFFFFF#000000##FFFFFF
##A22AA01.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A3
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#A83C63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22aa0;
/* rgb */ color: rgb(162, 42, 160);
/* oklch */ color: oklch(51.8% 0.202 328.7);
Tailwind
colors: {
  custom: {
    50: '#c171bc',
    500: '#a22aa0',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa0;
$custom-light: #c171bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa0",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 301,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.20203,
    "h": 328.7
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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