#A22B96#A22B96

#A22B96 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 332.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A22B96
RGBrgb(162, 43, 150)
HSLhsl(306, 58%, 40%)
HSVhsv(306, 73%, 64%)
CMYKcmyk(0%, 73.5%, 7.4%, 36.5%)
CIE-LABlab(40.59, 59.62, -32.52)
CIE-LCHlch(40.59, 67.91, 331.39°)
OKLaboklab(51.34% 0.1715 -0.0893)
OKLCHoklch(51.34% 0.193 332.5)
XYZxyz(21.2693, 11.6129, 29.9696)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B96 #2BA237
analogous
#722BA2 #A22B96 #A22B5B
triadic
#A22B96 #96A22B #2B96A2
tetradic
#A22B96 #A2722B #2BA237 #2B5BA2
square
#A22B96 #A2722B #2BA237 #2B5BA2
split-complementary
#A22B96 #5BA22B #2BA272
monochromatic
#41113C #721E69 #A22B96 #CC3EBE #D96FCE

Accessibility & contrast

On white

6.32
#A22B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A22B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B96
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B96#FFFFFF#000000##FFFFFF
##A22B961.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#A9385E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22b96;
/* rgb */ color: rgb(162, 43, 150);
/* oklch */ color: oklch(51.3% 0.193 332.5);
Tailwind
colors: {
  custom: {
    50: '#c171b5',
    500: '#a22b96',
    950: '#000000',
  },
}
SCSS
$custom: #a22b96;
$custom-light: #c171b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b96",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 306.05,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.19334,
    "h": 332.5
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#A22B96
secondary
#69C072
accent
#E15647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22B96

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

Preview Lab → · Contrast checker → · Palette generator →

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