#A22AC9#A22AC9

#A22AC9 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.235 H 315.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A22AC9
RGBrgb(162, 42, 201)
HSLhsl(285, 65%, 48%)
HSVhsv(285, 79%, 79%)
CMYKcmyk(19.4%, 79.1%, 0%, 21.2%)
CIE-LABlab(43.59, 68.84, -57.96)
CIE-LCHlch(43.59, 89.99, 319.91°)
OKLaboklab(54.46% 0.169 -0.1635)
OKLCHoklch(54.46% 0.235 315.9)
XYZxyz(26.2692, 13.5554, 56.4797)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AC9 #51C92A
analogous
#522AC9 #A22AC9 #C92AA0
triadic
#A22AC9 #C9A22A #2AC9A2
tetradic
#A22AC9 #C9522A #51C92A #2AA0C9
square
#A22AC9 #C9522A #51C92A #2AA0C9
split-complementary
#A22AC9 #A0C92A #2AC952
monochromatic
#501564 #791F96 #A22AC9 #BA55DB #CF87E6

Accessibility & contrast

On white

5.66
#A22AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A22AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AC9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AC9#FFFFFF#000000##FFFFFF
##A22AC91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#266AC6
Tritanopia (blue-blind)
#9F507A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22ac9;
/* rgb */ color: rgb(162, 42, 201);
/* oklch */ color: oklch(54.5% 0.235 315.9);
Tailwind
colors: {
  custom: {
    50: '#c272da',
    500: '#a22ac9',
    950: '#000000',
  },
}
SCSS
$custom: #a22ac9;
$custom-light: #c272da;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ac9",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 285.283,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.23516,
    "h": 315.9
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#A22AC9
secondary
#93D07F
accent
#E83F69
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A22AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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