#A22CAE#A22CAE

#A22CAE is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.211 H 323.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A22CAE
RGBrgb(162, 44, 174)
HSLhsl(294, 60%, 43%)
HSVhsv(294, 75%, 68%)
CMYKcmyk(6.9%, 74.7%, 0%, 31.8%)
CIE-LABlab(42.06, 63.29, -44.58)
CIE-LCHlch(42.06, 77.41, 324.84°)
OKLaboklab(52.83% 0.1705 -0.1243)
OKLCHoklch(52.83% 0.211 323.9)
XYZxyz(23.4403, 12.5402, 41.2221)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CAE #38AE2C
analogous
#612CAE #A22CAE #AE2C79
triadic
#A22CAE #AEA22C #2CAEA2
tetradic
#A22CAE #AE612C #38AE2C #2C79AE
square
#A22CAE #AE612C #38AE2C #2C79AE
split-complementary
#A22CAE #79AE2C #2CAE61
monochromatic
#47134C #75207D #A22CAE #C447D0 #D378DD

Accessibility & contrast

On white

5.99
#A22CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A22CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CAE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CAE#FFFFFF#000000##FFFFFF
##A22CAE1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#A5446B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22cae;
/* rgb */ color: rgb(162, 44, 174);
/* oklch */ color: oklch(52.8% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#c172c7',
    500: '#a22cae',
    950: '#000000',
  },
}
SCSS
$custom: #a22cae;
$custom-light: #c172c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cae",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 294.462,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52827,
    "c": 0.21101,
    "h": 323.9
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#A22CAE
secondary
#79C571
accent
#E34554
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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