#A22AB3#A22AB3

#A22AB3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.217 H 322.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A22AB3
RGBrgb(162, 42, 179)
HSLhsl(293, 62%, 43%)
HSVhsv(293, 77%, 70%)
CMYKcmyk(9.5%, 76.5%, 0%, 29.8%)
CIE-LABlab(42.14, 64.81, -47.41)
CIE-LCHlch(42.14, 80.30, 323.82°)
OKLaboklab(52.98% 0.1719 -0.1326)
OKLCHoklch(52.98% 0.217 322.3)
XYZxyz(23.8641, 12.5934, 43.8129)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AB3 #3BB32A
analogous
#5D2AB3 #A22AB3 #B32A7F
triadic
#A22AB3 #B3A22A #2AB3A2
tetradic
#A22AB3 #B35D2A #3BB32A #2A7FB3
square
#A22AB3 #B35D2A #3BB32A #2A7FB3
split-complementary
#A22AB3 #7FB32A #2AB35D
monochromatic
#481350 #751E81 #A22AB3 #C246D4 #D378DF

Accessibility & contrast

On white

5.97
#A22AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A22AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AB3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AB3#FFFFFF#000000##FFFFFF
##A22AB31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#A4456E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22ab3;
/* rgb */ color: rgb(162, 42, 179);
/* oklch */ color: oklch(53.0% 0.217 322.3);
Tailwind
colors: {
  custom: {
    50: '#c271ca',
    500: '#a22ab3',
    950: '#000000',
  },
}
SCSS
$custom: #a22ab3;
$custom-light: #c271ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ab3",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 292.555,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.21708,
    "h": 322.3
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#A22AB3
secondary
#7CC772
accent
#E54357
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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