#AC22AC#AC22AC

#AC22AC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.223 H 328.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC22AC
RGBrgb(172, 34, 172)
HSLhsl(300, 67%, 40%)
HSVhsv(300, 80%, 67%)
CMYKcmyk(0%, 80.2%, 0%, 32.5%)
CIE-LABlab(42.60, 67.89, -42.43)
CIE-LCHlch(42.60, 80.05, 328.00°)
OKLaboklab(53.5% 0.1896 -0.1177)
OKLCHoklch(53.5% 0.223 328.2)
XYZxyz(25.0314, 12.8952, 40.1924)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22AC #22AC22
analogous
#6722AC #AC22AC #AC2267
triadic
#AC22AC #ACAC22 #22ACAC
tetradic
#AC22AC #AC6722 #22AC22 #2267AC
square
#AC22AC #AC6722 #22AC22 #2267AC
split-complementary
#AC22AC #67AC22 #22AC67
monochromatic
#460E46 #791879 #AC22AC #D734D7 #E167E1

Accessibility & contrast

On white

5.87
#AC22AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC22AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22AC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22AC#FFFFFF#000000##FFFFFF
##AC22AC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4B6BA9
Tritanopia (blue-blind)
#B23B68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac22ac;
/* rgb */ color: rgb(172, 34, 172);
/* oklch */ color: oklch(53.5% 0.223 328.2);
Tailwind
colors: {
  custom: {
    50: '#c970c5',
    500: '#ac22ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac22ac;
$custom-light: #c970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22ac",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.22314,
    "h": 328.2
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#AC22AC
secondary
#63C763
accent
#EA3E3E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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