#A22CA1#A22CA1

#A22CA1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.0% C 0.201 H 328.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A22CA1
RGBrgb(162, 44, 161)
HSLhsl(301, 57%, 40%)
HSVhsv(301, 73%, 64%)
CMYKcmyk(0%, 72.8%, 0.6%, 36.5%)
CIE-LABlab(41.31, 61.06, -38.02)
CIE-LCHlch(41.31, 71.93, 328.09°)
OKLaboklab(52.04% 0.1708 -0.1053)
OKLCHoklch(52.04% 0.201 328.4)
XYZxyz(22.2337, 12.0576, 34.8676)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA1 #2CA22D
analogous
#682CA2 #A22CA1 #A22C66
triadic
#A22CA1 #A1A22C #2CA1A2
tetradic
#A22CA1 #A2682C #2CA22D #2C66A2
square
#A22CA1 #A2682C #2CA22D #2C66A2
split-complementary
#A22CA1 #66A22C #2CA268
monochromatic
#421241 #721F71 #A22CA1 #CB40CA #D870D7

Accessibility & contrast

On white

6.16
#A22CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A22CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CA1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CA1#FFFFFF#000000##FFFFFF
##A22CA11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A4
Deuteranopia (green-blind)
#4C679E
Tritanopia (blue-blind)
#A73E64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22ca1;
/* rgb */ color: rgb(162, 44, 161);
/* oklch */ color: oklch(52.0% 0.201 328.4);
Tailwind
colors: {
  custom: {
    50: '#c171bd',
    500: '#a22ca1',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca1;
$custom-light: #c171bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca1",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 300.508,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52045,
    "c": 0.20065,
    "h": 328.4
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#A22CA1
secondary
#6ABF6B
accent
#E14947
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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