#A22CA6#A22CA6

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

Color values

HEX#A22CA6
RGBrgb(162, 44, 166)
HSLhsl(298, 58%, 41%)
HSVhsv(298, 73%, 65%)
CMYKcmyk(2.4%, 73.5%, 0%, 34.9%)
CIE-LABlab(41.59, 61.90, -40.57)
CIE-LCHlch(41.59, 74.01, 326.76°)
OKLaboklab(52.34% 0.1708 -0.1127)
OKLCHoklch(52.34% 0.205 326.6)
XYZxyz(22.6835, 12.2375, 37.2363)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA6 #30A62C
analogous
#652CA6 #A22CA6 #A62C6D
triadic
#A22CA6 #A6A22C #2CA6A2
tetradic
#A22CA6 #A6652C #30A62C #2C6DA6
square
#A22CA6 #A6652C #30A62C #2C6DA6
split-complementary
#A22CA6 #6DA62C #2CA665
monochromatic
#441245 #731F76 #A22CA6 #C842CD #D673DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22CA6#FFFFFF#000000##FFFFFF
##A22CA61.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)
#0B59A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#A64067
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ca6;
/* rgb */ color: rgb(162, 44, 166);
/* oklch */ color: oklch(52.3% 0.205 326.6);
Tailwind
colors: {
  custom: {
    50: '#c172c1',
    500: '#a22ca6',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca6;
$custom-light: #c172c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca6",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 298.033,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.20459,
    "h": 326.6
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#A22CA6
secondary
#6FC16D
accent
#E1464C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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