#AC22AD#AC22AD

#AC22AD is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.224 H 327.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AC22AD
RGBrgb(172, 34, 173)
HSLhsl(300, 67%, 41%)
HSVhsv(300, 80%, 68%)
CMYKcmyk(0.6%, 80.3%, 0%, 32.2%)
CIE-LABlab(42.66, 68.05, -42.93)
CIE-LCHlch(42.66, 80.45, 327.75°)
OKLaboklab(53.56% 0.1895 -0.1192)
OKLCHoklch(53.56% 0.224 327.8)
XYZxyz(25.1278, 12.9337, 40.7001)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22AD #23AD22
analogous
#6622AD #AC22AD #AD2269
triadic
#AC22AD #ADAC22 #22ADAC
tetradic
#AC22AD #AD6622 #23AD22 #2269AD
square
#AC22AD #AD6622 #23AD22 #2269AD
split-complementary
#AC22AD #69AD22 #22AD66
monochromatic
#460E47 #79187A #AC22AD #D635D7 #E068E1

Accessibility & contrast

On white

5.86
#AC22AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC22AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22AD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22AD#FFFFFF#000000##FFFFFF
##AC22AD1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#B13B69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac22ad;
/* rgb */ color: rgb(172, 34, 173);
/* oklch */ color: oklch(53.6% 0.224 327.8);
Tailwind
colors: {
  custom: {
    50: '#c970c6',
    500: '#ac22ad',
    950: '#000000',
  },
}
SCSS
$custom: #ac22ad;
$custom-light: #c970c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22ad",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 299.568,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53555,
    "c": 0.22387,
    "h": 327.8
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#AC22AD
secondary
#64C764
accent
#EA3E3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC22AD

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

Preview Lab → · Contrast checker → · Palette generator →

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