#A22EAA#A22EAA

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

Color values

HEX#A22EAA
RGBrgb(162, 46, 170)
HSLhsl(296, 57%, 42%)
HSVhsv(296, 73%, 67%)
CMYKcmyk(4.7%, 72.9%, 0%, 33.3%)
CIE-LABlab(42.06, 61.91, -42.20)
CIE-LCHlch(42.06, 74.93, 325.72°)
OKLaboklab(52.75% 0.1688 -0.1174)
OKLCHoklch(52.75% 0.206 325.2)
XYZxyz(23.1324, 12.5392, 39.2243)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EAA #36AA2E
analogous
#642EAA #A22EAA #AA2E74
triadic
#A22EAA #AAA22E #2EAAA2
tetradic
#A22EAA #AA642E #36AA2E #2E74AA
square
#A22EAA #AA642E #36AA2E #2E74AA
split-complementary
#A22EAA #74AA2E #2EAA64
monochromatic
#46144A #74217A #A22EAA #C548CD #D478DA

Accessibility & contrast

On white

5.99
#A22EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A22EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EAA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EAA#FFFFFF#000000##FFFFFF
##A22EAA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#A6436A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22eaa;
/* rgb */ color: rgb(162, 46, 170);
/* oklch */ color: oklch(52.8% 0.206 325.2);
Tailwind
colors: {
  custom: {
    50: '#c173c4',
    500: '#a22eaa',
    950: '#000000',
  },
}
SCSS
$custom: #a22eaa;
$custom-light: #c173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22eaa",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 296.129,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5275,
    "c": 0.20563,
    "h": 325.2
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#A22EAA
secondary
#77C371
accent
#E14751
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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