#A22CB0#A22CB0

#A22CB0 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.213 H 323.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A22CB0
RGBrgb(162, 44, 176)
HSLhsl(294, 60%, 43%)
HSVhsv(294, 75%, 69%)
CMYKcmyk(8%, 75%, 0%, 31%)
CIE-LABlab(42.18, 63.64, -45.57)
CIE-LCHlch(42.18, 78.27, 324.39°)
OKLaboklab(52.95% 0.1704 -0.1272)
OKLCHoklch(52.95% 0.213 323.2)
XYZxyz(23.6367, 12.6188, 42.2566)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CB0 #3AB02C
analogous
#602CB0 #A22CB0 #B02C7C
triadic
#A22CB0 #B0A22C #2CB0A2
tetradic
#A22CB0 #B0602C #3AB02C #2C7CB0
square
#A22CB0 #B0602C #3AB02C #2C7CB0
split-complementary
#A22CB0 #7CB02C #2CB060
monochromatic
#48144E #75207F #A22CB0 #C348D1 #D379DD

Accessibility & contrast

On white

5.96
#A22CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A22CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CB0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CB0#FFFFFF#000000##FFFFFF
##A22CB01.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#A5456C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22cb0;
/* rgb */ color: rgb(162, 44, 176);
/* oklch */ color: oklch(53.0% 0.213 323.2);
Tailwind
colors: {
  custom: {
    50: '#c172c8',
    500: '#a22cb0',
    950: '#000000',
  },
}
SCSS
$custom: #a22cb0;
$custom-light: #c172c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cb0",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 293.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.21263,
    "h": 323.2
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#A22CB0
secondary
#7BC672
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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