#A22EAB#A22EAB

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

Color values

HEX#A22EAB
RGBrgb(162, 46, 171)
HSLhsl(296, 58%, 43%)
HSVhsv(296, 73%, 67%)
CMYKcmyk(5.3%, 73.1%, 0%, 32.9%)
CIE-LABlab(42.12, 62.09, -42.70)
CIE-LCHlch(42.12, 75.36, 325.48°)
OKLaboklab(52.81% 0.1688 -0.1189)
OKLCHoklch(52.81% 0.206 324.8)
XYZxyz(23.2274, 12.5771, 39.7244)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EAB #37AB2E
analogous
#632EAB #A22EAB #AB2E75
triadic
#A22EAB #ABA22E #2EABA2
tetradic
#A22EAB #AB632E #37AB2E #2E75AB
square
#A22EAB #AB632E #37AB2E #2E75AB
split-complementary
#A22EAB #75AB2E #2EAB63
monochromatic
#47144B #74217B #A22EAB #C448CE #D479DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22EAB#FFFFFF#000000##FFFFFF
##A22EAB1.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)
#015AAE
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#A5446A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22eab;
/* rgb */ color: rgb(162, 46, 171);
/* oklch */ color: oklch(52.8% 0.206 324.8);
Tailwind
colors: {
  custom: {
    50: '#c173c4',
    500: '#a22eab',
    950: '#000000',
  },
}
SCSS
$custom: #a22eab;
$custom-light: #c173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22eab",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 295.68,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.20644,
    "h": 324.8
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#A22EAB
secondary
#78C372
accent
#E14752
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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