#A22BB5#A22BB5

#A22BB5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.218 H 321.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A22BB5
RGBrgb(162, 43, 181)
HSLhsl(292, 62%, 44%)
HSVhsv(292, 76%, 71%)
CMYKcmyk(10.5%, 76.2%, 0%, 29%)
CIE-LABlab(42.38, 64.85, -48.21)
CIE-LCHlch(42.38, 80.81, 323.37°)
OKLaboklab(53.19% 0.1708 -0.135)
OKLCHoklch(53.19% 0.218 321.7)
XYZxyz(24.1038, 12.7467, 44.8979)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BB5 #3EB52B
analogous
#5D2BB5 #A22BB5 #B52B83
triadic
#A22BB5 #B5A22B #2BB5A2
tetradic
#A22BB5 #B55D2B #3EB52B #2B83B5
square
#A22BB5 #B55D2B #3EB52B #2B83B5
split-complementary
#A22BB5 #83B52B #2BB55D
monochromatic
#491452 #761F84 #A22BB5 #C149D4 #D27BE0

Accessibility & contrast

On white

5.92
#A22BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A22BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BB5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BB5#FFFFFF#000000##FFFFFF
##A22BB51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3E68B2
Tritanopia (blue-blind)
#A4476F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22bb5;
/* rgb */ color: rgb(162, 43, 181);
/* oklch */ color: oklch(53.2% 0.218 321.7);
Tailwind
colors: {
  custom: {
    50: '#c272cc',
    500: '#a22bb5',
    950: '#000000',
  },
}
SCSS
$custom: #a22bb5;
$custom-light: #c272cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bb5",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 291.739,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.21772,
    "h": 321.7
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#A22BB5
secondary
#80C874
accent
#E54359
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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