#A22FA9#A22FA9

#A22FA9 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.204 H 325.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A22FA9
RGBrgb(162, 47, 169)
HSLhsl(297, 56%, 42%)
HSVhsv(297, 72%, 66%)
CMYKcmyk(4.1%, 72.2%, 0%, 33.7%)
CIE-LABlab(42.12, 61.39, -41.51)
CIE-LCHlch(42.12, 74.11, 325.94°)
OKLaboklab(52.78% 0.1679 -0.1154)
OKLCHoklch(52.78% 0.204 325.5)
XYZxyz(23.0777, 12.5805, 38.7412)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FA9 #36A92F
analogous
#652FA9 #A22FA9 #A92F73
triadic
#A22FA9 #A9A22F #2FA9A2
tetradic
#A22FA9 #A9652F #36A92F #2F73A9
square
#A22FA9 #A9652F #36A92F #2F73A9
split-complementary
#A22FA9 #73A92F #2FA965
monochromatic
#461449 #742279 #A22FA9 #C549CC #D479DA

Accessibility & contrast

On white

5.97
#A22FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A22FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FA9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FA9#FFFFFF#000000##FFFFFF
##A22FA91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22fa9;
/* rgb */ color: rgb(162, 47, 169);
/* oklch */ color: oklch(52.8% 0.204 325.5);
Tailwind
colors: {
  custom: {
    50: '#c173c3',
    500: '#a22fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a22fa9;
$custom-light: #c173c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fa9",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 296.557,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.20371,
    "h": 325.5
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#A22FA9
secondary
#77C272
accent
#E04851
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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