#A22CA8#A22CA8

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

Color values

HEX#A22CA8
RGBrgb(162, 44, 168)
HSLhsl(297, 58%, 42%)
HSVhsv(297, 74%, 66%)
CMYKcmyk(3.6%, 73.8%, 0%, 34.1%)
CIE-LABlab(41.71, 62.25, -41.58)
CIE-LCHlch(41.71, 74.85, 326.26°)
OKLaboklab(52.46% 0.1707 -0.1156)
OKLCHoklch(52.46% 0.206 325.9)
XYZxyz(22.8684, 12.3114, 38.2100)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA8 #32A82C
analogous
#642CA8 #A22CA8 #A82C70
triadic
#A22CA8 #A8A22C #2CA8A2
tetradic
#A22CA8 #A8642C #32A82C #2C70A8
square
#A22CA8 #A8642C #32A82C #2C70A8
split-complementary
#A22CA8 #70A82C #2CA864
monochromatic
#441347 #731F78 #A22CA8 #C743CE #D674DB

Accessibility & contrast

On white

6.07
#A22CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A22CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CA8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CA8#FFFFFF#000000##FFFFFF
##A22CA81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0459AB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#A64168
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ca8;
/* rgb */ color: rgb(162, 44, 168);
/* oklch */ color: oklch(52.5% 0.206 325.9);
Tailwind
colors: {
  custom: {
    50: '#c172c2',
    500: '#a22ca8',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca8;
$custom-light: #c172c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca8",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 297.097,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.20619,
    "h": 325.9
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#A22CA8
secondary
#72C26E
accent
#E2464E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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