#AC22A0#AC22A0

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

Color values

HEX#AC22A0
RGBrgb(172, 34, 160)
HSLhsl(305, 67%, 40%)
HSVhsv(305, 80%, 67%)
CMYKcmyk(0%, 80.2%, 7%, 32.5%)
CIE-LABlab(41.93, 66.03, -36.33)
CIE-LCHlch(41.93, 75.36, 331.18°)
OKLaboklab(52.8% 0.1898 -0.1)
OKLCHoklch(52.8% 0.215 332.2)
XYZxyz(23.9305, 12.4548, 34.3946)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22A0 #22AC2E
analogous
#7322AC #AC22A0 #AC225B
triadic
#AC22A0 #A0AC22 #22A0AC
tetradic
#AC22A0 #AC7322 #22AC2E #225BAC
square
#AC22A0 #AC7322 #22AC2E #225BAC
split-complementary
#AC22A0 #5BAC22 #22AC73
monochromatic
#460E41 #791870 #AC22A0 #D734C9 #E167D6

Accessibility & contrast

On white

6.02
#AC22A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC22A0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22A0#FFFFFF#000000##FFFFFF
##AC22A01.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A3
Deuteranopia (green-blind)
#526A9D
Tritanopia (blue-blind)
#B43461
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac22a0;
/* rgb */ color: rgb(172, 34, 160);
/* oklch */ color: oklch(52.8% 0.215 332.2);
Tailwind
colors: {
  custom: {
    50: '#c96fbc',
    500: '#ac22a0',
    950: '#000000',
  },
}
SCSS
$custom: #ac22a0;
$custom-light: #c96fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22a0",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 305.217,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.21451,
    "h": 332.2
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#AC22A0
secondary
#63C76C
accent
#EA4D3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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