#A22CAA#A22CAA

#A22CAA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.208 H 325.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A22CAA
RGBrgb(162, 44, 170)
HSLhsl(296, 59%, 42%)
HSVhsv(296, 74%, 67%)
CMYKcmyk(4.7%, 74.1%, 0%, 33.3%)
CIE-LABlab(41.82, 62.59, -42.58)
CIE-LCHlch(41.82, 75.70, 325.77°)
OKLaboklab(52.58% 0.1707 -0.1185)
OKLCHoklch(52.58% 0.208 325.2)
XYZxyz(23.0561, 12.3865, 39.1989)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CAA #34AA2C
analogous
#632CAA #A22CAA #AA2C73
triadic
#A22CAA #AAA22C #2CAAA2
tetradic
#A22CAA #AA632C #34AA2C #2C73AA
square
#A22CAA #AA632C #34AA2C #2C73AA
split-complementary
#A22CAA #73AA2C #2CAA63
monochromatic
#451349 #741F79 #A22CAA #C644CF #D575DB

Accessibility & contrast

On white

6.04
#A22CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A22CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CAA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CAA#FFFFFF#000000##FFFFFF
##A22CAA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4768A7
Tritanopia (blue-blind)
#A64269
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22caa;
/* rgb */ color: rgb(162, 44, 170);
/* oklch */ color: oklch(52.6% 0.208 325.2);
Tailwind
colors: {
  custom: {
    50: '#c172c4',
    500: '#a22caa',
    950: '#000000',
  },
}
SCSS
$custom: #a22caa;
$custom-light: #c172c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22caa",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 296.19,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.20779,
    "h": 325.2
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#A22CAA
secondary
#74C36F
accent
#E24650
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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