#A22BA1#A22BA1

#A22BA1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.202 H 328.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A22BA1
RGBrgb(162, 43, 161)
HSLhsl(301, 58%, 40%)
HSVhsv(301, 73%, 64%)
CMYKcmyk(0%, 73.5%, 0.6%, 36.5%)
CIE-LABlab(41.19, 61.40, -38.21)
CIE-LCHlch(41.19, 72.32, 328.10°)
OKLaboklab(51.96% 0.1718 -0.1058)
OKLCHoklch(51.96% 0.202 328.4)
XYZxyz(22.1969, 11.9840, 34.8553)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BA1 #2BA22C
analogous
#672BA2 #A22BA1 #A22B66
triadic
#A22BA1 #A1A22B #2BA1A2
tetradic
#A22BA1 #A2672B #2BA22C #2B66A2
square
#A22BA1 #A2672B #2BA22C #2B66A2
split-complementary
#A22BA1 #66A22B #2BA267
monochromatic
#411141 #721E71 #A22BA1 #CC3ECB #D96FD8

Accessibility & contrast

On white

6.18
#A22BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A22BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BA1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BA1#FFFFFF#000000##FFFFFF
##A22BA11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A4
Deuteranopia (green-blind)
#4C679E
Tritanopia (blue-blind)
#A73D64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22ba1;
/* rgb */ color: rgb(162, 43, 161);
/* oklch */ color: oklch(52.0% 0.202 328.4);
Tailwind
colors: {
  custom: {
    50: '#c171bd',
    500: '#a22ba1',
    950: '#000000',
  },
}
SCSS
$custom: #a22ba1;
$custom-light: #c171bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ba1",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 300.504,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.20174,
    "h": 328.4
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#A22BA1
secondary
#69C06A
accent
#E14847
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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