#AC22A4#AC22A4

#AC22A4 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.217 H 330.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AC22A4
RGBrgb(172, 34, 164)
HSLhsl(303, 67%, 40%)
HSVhsv(303, 80%, 67%)
CMYKcmyk(0%, 80.2%, 4.7%, 32.5%)
CIE-LABlab(42.15, 66.64, -38.38)
CIE-LCHlch(42.15, 76.90, 330.06°)
OKLaboklab(53.03% 0.1898 -0.106)
OKLCHoklch(53.03% 0.217 330.8)
XYZxyz(24.2861, 12.5970, 36.2671)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22A4 #22AC2A
analogous
#6F22AC #AC22A4 #AC225F
triadic
#AC22A4 #A4AC22 #22A4AC
tetradic
#AC22A4 #AC6F22 #22AC2A #225FAC
square
#AC22A4 #AC6F22 #22AC2A #225FAC
split-complementary
#AC22A4 #5FAC22 #22AC6F
monochromatic
#460E43 #791873 #AC22A4 #D734CD #E167DA

Accessibility & contrast

On white

5.97
#AC22A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC22A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22A4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22A4#FFFFFF#000000##FFFFFF
##AC22A41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#B33663
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac22a4;
/* rgb */ color: rgb(172, 34, 164);
/* oklch */ color: oklch(53.0% 0.217 330.8);
Tailwind
colors: {
  custom: {
    50: '#c96fbf',
    500: '#ac22a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac22a4;
$custom-light: #c96fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22a4",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 303.478,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.21735,
    "h": 330.8
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#AC22A4
secondary
#63C769
accent
#EA483E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC22A4

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

Preview Lab → · Contrast checker → · Palette generator →

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