#A22EA4#A22EA4

#A22EA4 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.201 H 327.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A22EA4
RGBrgb(162, 46, 164)
HSLhsl(299, 56%, 41%)
HSVhsv(299, 72%, 64%)
CMYKcmyk(1.2%, 72%, 0%, 35.7%)
CIE-LABlab(41.72, 60.88, -39.17)
CIE-LCHlch(41.72, 72.40, 327.24°)
OKLaboklab(52.39% 0.1689 -0.1086)
OKLCHoklch(52.39% 0.201 327.3)
XYZxyz(22.5778, 12.3173, 36.3031)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA4 #30A42E
analogous
#672EA4 #A22EA4 #A42E6B
triadic
#A22EA4 #A4A22E #2EA4A2
tetradic
#A22EA4 #A4672E #30A42E #2E6BA4
square
#A22EA4 #A4672E #30A42E #2E6BA4
split-complementary
#A22EA4 #6BA42E #2EA467
monochromatic
#441344 #732174 #A22EA4 #C845CB #D674D8

Accessibility & contrast

On white

6.06
#A22EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A22EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EA4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA4#FFFFFF#000000##FFFFFF
##A22EA41.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#A74066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ea4;
/* rgb */ color: rgb(162, 46, 164);
/* oklch */ color: oklch(52.4% 0.201 327.3);
Tailwind
colors: {
  custom: {
    50: '#c172bf',
    500: '#a22ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea4;
$custom-light: #c172bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea4",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 298.983,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.2008,
    "h": 327.3
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#A22EA4
secondary
#6FC06E
accent
#DF484B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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