#A22CB3#A22CB3

#A22CB3 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.215 H 322.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A22CB3
RGBrgb(162, 44, 179)
HSLhsl(292, 61%, 44%)
HSVhsv(292, 75%, 70%)
CMYKcmyk(9.5%, 75.4%, 0%, 29.8%)
CIE-LABlab(42.37, 64.17, -47.05)
CIE-LCHlch(42.37, 79.57, 323.75°)
OKLaboklab(53.14% 0.1701 -0.1316)
OKLCHoklch(53.14% 0.215 322.3)
XYZxyz(23.9368, 12.7388, 43.8371)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CB3 #3DB32C
analogous
#5E2CB3 #A22CB3 #B32C80
triadic
#A22CB3 #B3A22C #2CB3A2
tetradic
#A22CB3 #B35E2C #3DB32C #2C80B3
square
#A22CB3 #B35E2C #3DB32C #2C80B3
split-complementary
#A22CB3 #80B32C #2CB35E
monochromatic
#491451 #762082 #A22CB3 #C14AD2 #D27BDF

Accessibility & contrast

On white

5.92
#A22CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A22CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CB3
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CB3#FFFFFF#000000##FFFFFF
##A22CB31.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#A4466E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22cb3;
/* rgb */ color: rgb(162, 44, 179);
/* oklch */ color: oklch(53.1% 0.215 322.3);
Tailwind
colors: {
  custom: {
    50: '#c172ca',
    500: '#a22cb3',
    950: '#000000',
  },
}
SCSS
$custom: #a22cb3;
$custom-light: #c172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cb3",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 292.444,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.21508,
    "h": 322.3
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#A22CB3
secondary
#7EC774
accent
#E44458
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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