#A22CA9#A22CA9

#A22CA9 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.207 H 325.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A22CA9
RGBrgb(162, 44, 169)
HSLhsl(297, 59%, 42%)
HSVhsv(297, 74%, 66%)
CMYKcmyk(4.1%, 74%, 0%, 33.7%)
CIE-LABlab(41.77, 62.42, -42.08)
CIE-LCHlch(41.77, 75.28, 326.01°)
OKLaboklab(52.52% 0.1707 -0.1171)
OKLCHoklch(52.52% 0.207 325.6)
XYZxyz(22.9619, 12.3488, 38.7026)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA9 #33A92C
analogous
#642CA9 #A22CA9 #A92C72
triadic
#A22CA9 #A9A22C #2CA9A2
tetradic
#A22CA9 #A9642C #33A92C #2C72A9
square
#A22CA9 #A9642C #33A92C #2C72A9
split-complementary
#A22CA9 #72A92C #2CA964
monochromatic
#451348 #731F78 #A22CA9 #C744CE #D574DB

Accessibility & contrast

On white

6.05
#A22CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A22CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CA9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CA9#FFFFFF#000000##FFFFFF
##A22CA91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0159AC
Deuteranopia (green-blind)
#4867A6
Tritanopia (blue-blind)
#A64268
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22ca9;
/* rgb */ color: rgb(162, 44, 169);
/* oklch */ color: oklch(52.5% 0.207 325.6);
Tailwind
colors: {
  custom: {
    50: '#c172c3',
    500: '#a22ca9',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca9;
$custom-light: #c172c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca9",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 296.64,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.20698,
    "h": 325.6
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#A22CA9
secondary
#73C36E
accent
#E2464F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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