#A22CA3#A22CA3

#A22CA3 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.202 H 327.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A22CA3
RGBrgb(162, 44, 163)
HSLhsl(299, 57%, 41%)
HSVhsv(299, 73%, 64%)
CMYKcmyk(0.6%, 73%, 0%, 36.1%)
CIE-LABlab(41.42, 61.40, -39.04)
CIE-LCHlch(41.42, 72.76, 327.55°)
OKLaboklab(52.16% 0.1708 -0.1082)
OKLCHoklch(52.16% 0.202 327.6)
XYZxyz(22.4115, 12.1287, 35.8039)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA3 #2DA32C
analogous
#662CA3 #A22CA3 #A32C68
triadic
#A22CA3 #A3A22C #2CA3A2
tetradic
#A22CA3 #A3662C #2DA32C #2C68A3
square
#A22CA3 #A3662C #2DA32C #2C68A3
split-complementary
#A22CA3 #68A32C #2CA366
monochromatic
#421243 #721F73 #A22CA3 #CA41CC #D871D9

Accessibility & contrast

On white

6.13
#A22CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A22CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CA3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CA3#FFFFFF#000000##FFFFFF
##A22CA31.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A6
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#A73F65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ca3;
/* rgb */ color: rgb(162, 44, 163);
/* oklch */ color: oklch(52.2% 0.202 327.6);
Tailwind
colors: {
  custom: {
    50: '#c171bf',
    500: '#a22ca3',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca3;
$custom-light: #c171bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca3",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 299.496,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.20222,
    "h": 327.6
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#A22CA3
secondary
#6CC06B
accent
#E14748
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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