#A22EA6#A22EA6

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

Color values

HEX#A22EA6
RGBrgb(162, 46, 166)
HSLhsl(298, 57%, 42%)
HSVhsv(298, 72%, 65%)
CMYKcmyk(2.4%, 72.3%, 0%, 34.9%)
CIE-LABlab(41.83, 61.22, -40.19)
CIE-LCHlch(41.83, 73.24, 326.72°)
OKLaboklab(52.51% 0.1689 -0.1116)
OKLCHoklch(52.51% 0.202 326.5)
XYZxyz(22.7598, 12.3901, 37.2618)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA6 #32A62E
analogous
#662EA6 #A22EA6 #A62E6E
triadic
#A22EA6 #A6A22E #2EA6A2
tetradic
#A22EA6 #A6662E #32A62E #2E6EA6
square
#A22EA6 #A6662E #32A62E #2E6EA6
split-complementary
#A22EA6 #6EA62E #2EA666
monochromatic
#441346 #732176 #A22EA6 #C746CC #D676D9

Accessibility & contrast

On white

6.04
#A22EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A22EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EA6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA6#FFFFFF#000000##FFFFFF
##A22EA61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#4A68A3
Tritanopia (blue-blind)
#A64167
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22ea6;
/* rgb */ color: rgb(162, 46, 166);
/* oklch */ color: oklch(52.5% 0.202 326.5);
Tailwind
colors: {
  custom: {
    50: '#c172c1',
    500: '#a22ea6',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea6;
$custom-light: #c172c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea6",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 298,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.20241,
    "h": 326.5
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#A22EA6
secondary
#72C16F
accent
#E0484D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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