#A22EA9#A22EA9

#A22EA9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.205 H 325.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A22EA9
RGBrgb(162, 46, 169)
HSLhsl(297, 57%, 42%)
HSVhsv(297, 73%, 66%)
CMYKcmyk(4.1%, 72.8%, 0%, 33.7%)
CIE-LABlab(42.00, 61.74, -41.70)
CIE-LCHlch(42.00, 74.50, 325.96°)
OKLaboklab(52.69% 0.1688 -0.116)
OKLCHoklch(52.69% 0.205 325.5)
XYZxyz(23.0382, 12.5015, 38.7280)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA9 #35A92E
analogous
#642EA9 #A22EA9 #A92E73
triadic
#A22EA9 #A9A22E #2EA9A2
tetradic
#A22EA9 #A9642E #35A92E #2E73A9
square
#A22EA9 #A9642E #35A92E #2E73A9
split-complementary
#A22EA9 #73A92E #2EA964
monochromatic
#461449 #742179 #A22EA9 #C547CD #D477DA

Accessibility & contrast

On white

6.00
#A22EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A22EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EA9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA9#FFFFFF#000000##FFFFFF
##A22EA91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085AAC
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#A64369
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22ea9;
/* rgb */ color: rgb(162, 46, 169);
/* oklch */ color: oklch(52.7% 0.205 325.5);
Tailwind
colors: {
  custom: {
    50: '#c173c3',
    500: '#a22ea9',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea9;
$custom-light: #c173c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea9",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 296.585,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.20482,
    "h": 325.5
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#A22EA9
secondary
#75C271
accent
#E04750
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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