#A22BA9#A22BA9

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

Color values

HEX#A22BA9
RGBrgb(162, 43, 169)
HSLhsl(297, 59%, 42%)
HSVhsv(297, 75%, 66%)
CMYKcmyk(4.1%, 74.6%, 0%, 33.7%)
CIE-LABlab(41.65, 62.75, -42.26)
CIE-LCHlch(41.65, 75.65, 326.04°)
OKLaboklab(52.44% 0.1716 -0.1176)
OKLCHoklch(52.44% 0.208 325.6)
XYZxyz(22.9251, 12.2752, 38.6903)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BA9 #32A92B
analogous
#632BA9 #A22BA9 #A92B71
triadic
#A22BA9 #A9A22B #2BA9A2
tetradic
#A22BA9 #A9632B #32A92B #2B71A9
square
#A22BA9 #A9632B #32A92B #2B71A9
split-complementary
#A22BA9 #71A92B #2BA963
monochromatic
#441247 #731F78 #A22BA9 #C742CF #D673DB

Accessibility & contrast

On white

6.08
#A22BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A22BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BA9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BA9#FFFFFF#000000##FFFFFF
##A22BA91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#A64168
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ba9;
/* rgb */ color: rgb(162, 43, 169);
/* oklch */ color: oklch(52.4% 0.208 325.6);
Tailwind
colors: {
  custom: {
    50: '#c171c3',
    500: '#a22ba9',
    950: '#000000',
  },
}
SCSS
$custom: #a22ba9;
$custom-light: #c171c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ba9",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 296.667,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.20804,
    "h": 325.6
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#A22BA9
secondary
#72C36D
accent
#E3454E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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