#A22CB8#A22CB8

#A22CB8 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.219 H 320.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A22CB8
RGBrgb(162, 44, 184)
HSLhsl(291, 61%, 45%)
HSVhsv(291, 76%, 72%)
CMYKcmyk(12%, 76.1%, 0%, 27.8%)
CIE-LABlab(42.68, 65.07, -49.49)
CIE-LCHlch(42.68, 81.75, 322.74°)
OKLaboklab(53.46% 0.1697 -0.1387)
OKLCHoklch(53.46% 0.219 320.7)
XYZxyz(24.4517, 12.9448, 46.5487)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CB8 #42B82C
analogous
#5C2CB8 #A22CB8 #B82C88
triadic
#A22CB8 #B8A22C #2CB8A2
tetradic
#A22CB8 #B85C2C #42B82C #2C88B8
square
#A22CB8 #B85C2C #42B82C #2C88B8
split-complementary
#A22CB8 #88B82C #2CB85C
monochromatic
#4B1455 #772087 #A22CB8 #BF4DD4 #D17EE0

Accessibility & contrast

On white

5.85
#A22CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A22CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CB8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CB8#FFFFFF#000000##FFFFFF
##A22CB81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3C69B5
Tritanopia (blue-blind)
#A34971
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22cb8;
/* rgb */ color: rgb(162, 44, 184);
/* oklch */ color: oklch(53.5% 0.219 320.7);
Tailwind
colors: {
  custom: {
    50: '#c272ce',
    500: '#a22cb8',
    950: '#000000',
  },
}
SCSS
$custom: #a22cb8;
$custom-light: #c272ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cb8",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 290.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.21918,
    "h": 320.7
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#A22CB8
secondary
#84C977
accent
#E5435D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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