#A22B9E#A22B9E

#A22B9E is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 329.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A22B9E
RGBrgb(162, 43, 158)
HSLhsl(302, 58%, 40%)
HSVhsv(302, 73%, 64%)
CMYKcmyk(0%, 73.5%, 2.5%, 36.5%)
CIE-LABlab(41.02, 60.90, -36.67)
CIE-LCHlch(41.02, 71.09, 328.95°)
OKLaboklab(51.79% 0.1717 -0.1013)
OKLCHoklch(51.79% 0.199 329.5)
XYZxyz(21.9356, 11.8794, 33.4788)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B9E #2BA22F
analogous
#6B2BA2 #A22B9E #A22B62
triadic
#A22B9E #9EA22B #2B9EA2
tetradic
#A22B9E #A26B2B #2BA22F #2B62A2
square
#A22B9E #A26B2B #2BA22F #2B62A2
split-complementary
#A22B9E #62A22B #2BA26B
monochromatic
#411140 #721E6F #A22B9E #CC3EC7 #D96FD5

Accessibility & contrast

On white

6.22
#A22B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A22B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B9E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B9E#FFFFFF#000000##FFFFFF
##A22B9E1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A1
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#A83C62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22b9e;
/* rgb */ color: rgb(162, 43, 158);
/* oklch */ color: oklch(51.8% 0.199 329.5);
Tailwind
colors: {
  custom: {
    50: '#c171bb',
    500: '#a22b9e',
    950: '#000000',
  },
}
SCSS
$custom: #a22b9e;
$custom-light: #c171bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b9e",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 302.017,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.19941,
    "h": 329.5
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#A22B9E
secondary
#69C06C
accent
#E14C47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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