#A22CA5#A22CA5

#A22CA5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.204 H 326.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A22CA5
RGBrgb(162, 44, 165)
HSLhsl(299, 58%, 41%)
HSVhsv(299, 73%, 65%)
CMYKcmyk(1.8%, 73.3%, 0%, 35.3%)
CIE-LABlab(41.53, 61.73, -40.06)
CIE-LCHlch(41.53, 73.59, 327.02°)
OKLaboklab(52.28% 0.1708 -0.1112)
OKLCHoklch(52.28% 0.204 326.9)
XYZxyz(22.5921, 12.2009, 36.7551)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA5 #2FA52C
analogous
#652CA5 #A22CA5 #A52C6B
triadic
#A22CA5 #A5A22C #2CA5A2
tetradic
#A22CA5 #A5652C #2FA52C #2C6BA5
square
#A22CA5 #A5652C #2FA52C #2C6BA5
split-complementary
#A22CA5 #6BA52C #2CA565
monochromatic
#431244 #731F75 #A22CA5 #C942CD #D772D9

Accessibility & contrast

On white

6.11
#A22CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A22CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CA5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CA5#FFFFFF#000000##FFFFFF
##A22CA51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#A74066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ca5;
/* rgb */ color: rgb(162, 44, 165);
/* oklch */ color: oklch(52.3% 0.204 326.9);
Tailwind
colors: {
  custom: {
    50: '#c172c0',
    500: '#a22ca5',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca5;
$custom-light: #c172c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca5",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 298.512,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.2038,
    "h": 326.9
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#A22CA5
secondary
#6EC16C
accent
#E1474B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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