#A22CB1#A22CB1

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

Color values

HEX#A22CB1
RGBrgb(162, 44, 177)
HSLhsl(293, 60%, 43%)
HSVhsv(293, 75%, 69%)
CMYKcmyk(8.5%, 75.1%, 0%, 30.6%)
CIE-LABlab(42.24, 63.81, -46.06)
CIE-LCHlch(42.24, 78.70, 324.18°)
OKLaboklab(53.02% 0.1703 -0.1287)
OKLCHoklch(53.02% 0.213 322.9)
XYZxyz(23.7360, 12.6585, 42.7796)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CB1 #3BB12C
analogous
#5F2CB1 #A22CB1 #B12C7D
triadic
#A22CB1 #B1A22C #2CB1A2
tetradic
#A22CB1 #B15F2C #3BB12C #2C7DB1
square
#A22CB1 #B15F2C #3BB12C #2C7DB1
split-complementary
#A22CB1 #7DB12C #2CB15F
monochromatic
#48144F #752080 #A22CB1 #C249D2 #D37ADE

Accessibility & contrast

On white

5.95
#A22CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A22CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CB1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CB1#FFFFFF#000000##FFFFFF
##A22CB11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4268AE
Tritanopia (blue-blind)
#A4456D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22cb1;
/* rgb */ color: rgb(162, 44, 177);
/* oklch */ color: oklch(53.0% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#c172c9',
    500: '#a22cb1',
    950: '#000000',
  },
}
SCSS
$custom: #a22cb1;
$custom-light: #c172c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cb1",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 293.233,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.21345,
    "h": 322.9
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#A22CB1
secondary
#7CC673
accent
#E34456
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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