#A22CB5#A22CB5

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

Color values

HEX#A22CB5
RGBrgb(162, 44, 181)
HSLhsl(292, 61%, 44%)
HSVhsv(292, 76%, 71%)
CMYKcmyk(10.5%, 75.7%, 0%, 29%)
CIE-LABlab(42.49, 64.53, -48.03)
CIE-LCHlch(42.49, 80.44, 323.34°)
OKLaboklab(53.27% 0.17 -0.1344)
OKLCHoklch(53.27% 0.217 321.7)
XYZxyz(24.1406, 12.8203, 44.9101)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CB5 #3FB52C
analogous
#5E2CB5 #A22CB5 #B52C84
triadic
#A22CB5 #B5A22C #2CB5A2
tetradic
#A22CB5 #B55E2C #3FB52C #2C84B5
square
#A22CB5 #B55E2C #3FB52C #2C84B5
split-complementary
#A22CB5 #84B52C #2CB55E
monochromatic
#4A1453 #762084 #A22CB5 #C04BD3 #D17CDF

Accessibility & contrast

On white

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

On black

3.56
#A22CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A22CB5#FFFFFF#000000##FFFFFF
##A22CB51.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22cb5;
/* rgb */ color: rgb(162, 44, 181);
/* oklch */ color: oklch(53.3% 0.217 321.7);
Tailwind
colors: {
  custom: {
    50: '#c272cc',
    500: '#a22cb5',
    950: '#000000',
  },
}
SCSS
$custom: #a22cb5;
$custom-light: #c272cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cb5",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 291.679,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.21672,
    "h": 321.7
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#A22CB5
secondary
#81C875
accent
#E4445A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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