#A22BAE#A22BAE

#A22BAE is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.212 H 323.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A22BAE
RGBrgb(162, 43, 174)
HSLhsl(295, 60%, 43%)
HSVhsv(295, 75%, 68%)
CMYKcmyk(6.9%, 75.3%, 0%, 31.8%)
CIE-LABlab(41.95, 63.61, -44.76)
CIE-LCHlch(41.95, 77.78, 324.87°)
OKLaboklab(52.75% 0.1714 -0.1249)
OKLCHoklch(52.75% 0.212 323.9)
XYZxyz(23.4035, 12.4666, 41.2098)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BAE #37AE2B
analogous
#612BAE #A22BAE #AE2B78
triadic
#A22BAE #AEA22B #2BAEA2
tetradic
#A22BAE #AE612B #37AE2B #2B78AE
square
#A22BAE #AE612B #37AE2B #2B78AE
split-complementary
#A22BAE #78AE2B #2BAE61
monochromatic
#47134C #741F7D #A22BAE #C445D1 #D476DD

Accessibility & contrast

On white

6.01
#A22BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A22BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BAE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BAE#FFFFFF#000000##FFFFFF
##A22BAE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#A5436B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22bae;
/* rgb */ color: rgb(162, 43, 174);
/* oklch */ color: oklch(52.7% 0.212 323.9);
Tailwind
colors: {
  custom: {
    50: '#c172c7',
    500: '#a22bae',
    950: '#000000',
  },
}
SCSS
$custom: #a22bae;
$custom-light: #c172c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bae",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 294.504,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.21204,
    "h": 323.9
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#A22BAE
secondary
#78C570
accent
#E44453
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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