#A22EA5#A22EA5

#A22EA5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.202 H 326.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A22EA5
RGBrgb(162, 46, 165)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 72%, 65%)
CMYKcmyk(1.8%, 72.1%, 0%, 35.3%)
CIE-LABlab(41.77, 61.05, -39.68)
CIE-LCHlch(41.77, 72.82, 326.98°)
OKLaboklab(52.45% 0.1689 -0.1101)
OKLCHoklch(52.45% 0.202 326.9)
XYZxyz(22.6684, 12.3535, 36.7805)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA5 #31A52E
analogous
#672EA5 #A22EA5 #A52E6D
triadic
#A22EA5 #A5A22E #2EA5A2
tetradic
#A22EA5 #A5672E #31A52E #2E6DA5
square
#A22EA5 #A5672E #31A52E #2E6DA5
split-complementary
#A22EA5 #6DA52E #2EA567
monochromatic
#441345 #732175 #A22EA5 #C845CB #D675D8

Accessibility & contrast

On white

6.05
#A22EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A22EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EA5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA5#FFFFFF#000000##FFFFFF
##A22EA51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#A74167
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22ea5;
/* rgb */ color: rgb(162, 46, 165);
/* oklch */ color: oklch(52.5% 0.202 326.9);
Tailwind
colors: {
  custom: {
    50: '#c172c0',
    500: '#a22ea5',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea5;
$custom-light: #c172c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea5",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 298.487,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.20161,
    "h": 326.9
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#A22EA5
secondary
#71C06F
accent
#E0484C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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