#A22FA5#A22FA5

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

Color values

HEX#A22FA5
RGBrgb(162, 47, 165)
HSLhsl(298, 56%, 42%)
HSVhsv(298, 72%, 65%)
CMYKcmyk(1.8%, 71.5%, 0%, 35.3%)
CIE-LABlab(41.90, 60.70, -39.49)
CIE-LCHlch(41.90, 72.42, 326.96°)
OKLaboklab(52.54% 0.1679 -0.1095)
OKLCHoklch(52.54% 0.2 326.9)
XYZxyz(22.7080, 12.4326, 36.7937)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FA5 #32A52F
analogous
#672FA5 #A22FA5 #A52F6D
triadic
#A22FA5 #A5A22F #2FA5A2
tetradic
#A22FA5 #A5672F #32A52F #2F6DA5
square
#A22FA5 #A5672F #32A52F #2F6DA5
split-complementary
#A22FA5 #6DA52F #2FA567
monochromatic
#441446 #732175 #A22FA5 #C747CB #D676D8

Accessibility & contrast

On white

6.02
#A22FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A22FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FA5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FA5#FFFFFF#000000##FFFFFF
##A22FA51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#A74167
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22fa5;
/* rgb */ color: rgb(162, 47, 165);
/* oklch */ color: oklch(52.5% 0.200 326.9);
Tailwind
colors: {
  custom: {
    50: '#c173c0',
    500: '#a22fa5',
    950: '#000000',
  },
}
SCSS
$custom: #a22fa5;
$custom-light: #c173c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fa5",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 298.475,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.20048,
    "h": 326.9
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#A22FA5
secondary
#72C070
accent
#DF494D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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