#AC22A9#AC22A9

#AC22A9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.221 H 329.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AC22A9
RGBrgb(172, 34, 169)
HSLhsl(301, 67%, 40%)
HSVhsv(301, 80%, 67%)
CMYKcmyk(0%, 80.2%, 1.7%, 32.5%)
CIE-LABlab(42.43, 67.41, -40.92)
CIE-LCHlch(42.43, 78.86, 328.74°)
OKLaboklab(53.32% 0.1897 -0.1133)
OKLCHoklch(53.32% 0.221 329.1)
XYZxyz(24.7465, 12.7812, 38.6921)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22A9 #22AC25
analogous
#6A22AC #AC22A9 #AC2264
triadic
#AC22A9 #A9AC22 #22A9AC
tetradic
#AC22A9 #AC6A22 #22AC25 #2264AC
square
#AC22A9 #AC6A22 #22AC25 #2264AC
split-complementary
#AC22A9 #64AC22 #22AC6A
monochromatic
#460E45 #791877 #AC22A9 #D734D3 #E167DE

Accessibility & contrast

On white

5.91
#AC22A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC22A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22A9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22A9#FFFFFF#000000##FFFFFF
##AC22A91.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4D6AA6
Tritanopia (blue-blind)
#B23966
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac22a9;
/* rgb */ color: rgb(172, 34, 169);
/* oklch */ color: oklch(53.3% 0.221 329.1);
Tailwind
colors: {
  custom: {
    50: '#c96fc3',
    500: '#ac22a9',
    950: '#000000',
  },
}
SCSS
$custom: #ac22a9;
$custom-light: #c96fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22a9",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 301.304,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.22095,
    "h": 329.1
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#AC22A9
secondary
#63C765
accent
#EA423E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #AC22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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