#A22BB7#A22BB7

#A22BB7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.219 H 321.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A22BB7
RGBrgb(162, 43, 183)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 77%, 72%)
CMYKcmyk(11.5%, 76.5%, 0%, 28.2%)
CIE-LABlab(42.51, 65.21, -49.19)
CIE-LCHlch(42.51, 81.68, 322.97°)
OKLaboklab(53.32% 0.1707 -0.1378)
OKLCHoklch(53.32% 0.219 321.1)
XYZxyz(24.3104, 12.8294, 45.9864)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BB7 #40B72B
analogous
#5C2BB7 #A22BB7 #B72B86
triadic
#A22BB7 #B7A22B #2BB7A2
tetradic
#A22BB7 #B75C2B #40B72B #2B86B7
square
#A22BB7 #B75C2B #40B72B #2B86B7
split-complementary
#A22BB7 #86B72B #2BB75C
monochromatic
#4A1454 #761F85 #A22BB7 #C04BD5 #D17CE0

Accessibility & contrast

On white

5.89
#A22BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A22BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BB7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BB7#FFFFFF#000000##FFFFFF
##A22BB71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3C69B4
Tritanopia (blue-blind)
#A34870
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22bb7;
/* rgb */ color: rgb(162, 43, 183);
/* oklch */ color: oklch(53.3% 0.219 321.1);
Tailwind
colors: {
  custom: {
    50: '#c272cd',
    500: '#a22bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a22bb7;
$custom-light: #c272cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bb7",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 291,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.21935,
    "h": 321.1
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#A22BB7
secondary
#82C975
accent
#E5435B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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