#A22CAC#A22CAC

#A22CAC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.209 H 324.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A22CAC
RGBrgb(162, 44, 172)
HSLhsl(295, 59%, 42%)
HSVhsv(295, 74%, 67%)
CMYKcmyk(5.8%, 74.4%, 0%, 32.5%)
CIE-LABlab(41.94, 62.94, -43.58)
CIE-LCHlch(41.94, 76.55, 325.30°)
OKLaboklab(52.7% 0.1706 -0.1214)
OKLCHoklch(52.7% 0.209 324.6)
XYZxyz(23.2468, 12.4628, 40.2028)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CAC #36AC2C
analogous
#622CAC #A22CAC #AC2C76
triadic
#A22CAC #ACA22C #2CACA2
tetradic
#A22CAC #AC622C #36AC2C #2C76AC
square
#A22CAC #AC622C #36AC2C #2C76AC
split-complementary
#A22CAC #76AC2C #2CAC62
monochromatic
#46134B #74207B #A22CAC #C546D0 #D476DC

Accessibility & contrast

On white

6.01
#A22CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A22CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CAC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CAC#FFFFFF#000000##FFFFFF
##A22CAC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4568A9
Tritanopia (blue-blind)
#A5436A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22cac;
/* rgb */ color: rgb(162, 44, 172);
/* oklch */ color: oklch(52.7% 0.209 324.6);
Tailwind
colors: {
  custom: {
    50: '#c172c5',
    500: '#a22cac',
    950: '#000000',
  },
}
SCSS
$custom: #a22cac;
$custom-light: #c172c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cac",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 295.313,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.20939,
    "h": 324.6
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#A22CAC
secondary
#77C470
accent
#E24552
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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