#A22AB8#A22AB8

#A22AB8 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.221 H 320.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A22AB8
RGBrgb(162, 42, 184)
HSLhsl(291, 63%, 44%)
HSVhsv(291, 77%, 72%)
CMYKcmyk(12%, 77.2%, 0%, 27.8%)
CIE-LABlab(42.46, 65.70, -49.85)
CIE-LCHlch(42.46, 82.47, 322.81°)
OKLaboklab(53.31% 0.1714 -0.1398)
OKLCHoklch(53.31% 0.221 320.8)
XYZxyz(24.3790, 12.7993, 46.5245)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AB8 #40B82A
analogous
#5B2AB8 #A22AB8 #B82A87
triadic
#A22AB8 #B8A22A #2AB8A2
tetradic
#A22AB8 #B85B2A #40B82A #2A87B8
square
#A22AB8 #B85B2A #40B82A #2A87B8
split-complementary
#A22AB8 #87B82A #2AB85B
monochromatic
#4A1354 #761F86 #A22AB8 #C04AD6 #D17BE1

Accessibility & contrast

On white

5.90
#A22AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A22AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AB8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AB8#FFFFFF#000000##FFFFFF
##A22AB81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3B68B5
Tritanopia (blue-blind)
#A34870
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22ab8;
/* rgb */ color: rgb(162, 42, 184);
/* oklch */ color: oklch(53.3% 0.221 320.8);
Tailwind
colors: {
  custom: {
    50: '#c272ce',
    500: '#a22ab8',
    950: '#000000',
  },
}
SCSS
$custom: #a22ab8;
$custom-light: #c272ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ab8",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 290.704,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.22114,
    "h": 320.8
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#A22AB8
secondary
#82C975
accent
#E6425B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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