#A22BA6#A22BA6

#A22BA6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.206 H 326.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A22BA6
RGBrgb(162, 43, 166)
HSLhsl(298, 59%, 41%)
HSVhsv(298, 74%, 65%)
CMYKcmyk(2.4%, 74.1%, 0%, 34.9%)
CIE-LABlab(41.48, 62.24, -40.75)
CIE-LCHlch(41.48, 74.39, 326.78°)
OKLaboklab(52.26% 0.1717 -0.1132)
OKLCHoklch(52.26% 0.206 326.6)
XYZxyz(22.6467, 12.1639, 37.2241)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BA6 #2FA62B
analogous
#642BA6 #A22BA6 #A62B6C
triadic
#A22BA6 #A6A22B #2BA6A2
tetradic
#A22BA6 #A6642B #2FA62B #2B6CA6
square
#A22BA6 #A6642B #2FA62B #2B6CA6
split-complementary
#A22BA6 #6CA62B #2BA664
monochromatic
#431245 #731E75 #A22BA6 #C941CE #D771DA

Accessibility & contrast

On white

6.12
#A22BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A22BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BA6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BA6#FFFFFF#000000##FFFFFF
##A22BA61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#A63F67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ba6;
/* rgb */ color: rgb(162, 43, 166);
/* oklch */ color: oklch(52.3% 0.206 326.6);
Tailwind
colors: {
  custom: {
    50: '#c171c1',
    500: '#a22ba6',
    950: '#000000',
  },
}
SCSS
$custom: #a22ba6;
$custom-light: #c171c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ba6",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 298.049,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.20566,
    "h": 326.6
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#A22BA6
secondary
#6EC16B
accent
#E2464B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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