#A22AAA#A22AAA

#A22AAA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.210 H 325.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A22AAA
RGBrgb(162, 42, 170)
HSLhsl(296, 60%, 42%)
HSVhsv(296, 75%, 67%)
CMYKcmyk(4.7%, 75.3%, 0%, 33.3%)
CIE-LABlab(41.60, 63.24, -42.94)
CIE-LCHlch(41.60, 76.44, 325.82°)
OKLaboklab(52.42% 0.1725 -0.1196)
OKLCHoklch(52.42% 0.21 325.3)
XYZxyz(22.9834, 12.2411, 39.1746)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AAA #32AA2A
analogous
#622AAA #A22AAA #AA2A72
triadic
#A22AAA #AAA22A #2AAAA2
tetradic
#A22AAA #AA622A #32AA2A #2A72AA
square
#A22AAA #AA622A #32AA2A #2A72AA
split-complementary
#A22AAA #72AA2A #2AAA62
monochromatic
#441248 #731E79 #A22AAA #C741D0 #D672DC

Accessibility & contrast

On white

6.09
#A22AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A22AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AAA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AAA#FFFFFF#000000##FFFFFF
##A22AAA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#A64169
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22aaa;
/* rgb */ color: rgb(162, 42, 170);
/* oklch */ color: oklch(52.4% 0.210 325.3);
Tailwind
colors: {
  custom: {
    50: '#c171c4',
    500: '#a22aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a22aaa;
$custom-light: #c171c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aaa",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 296.25,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.20986,
    "h": 325.3
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#A22AAA
secondary
#72C36C
accent
#E4444E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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