#AC22B0#AC22B0

#AC22B0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.226 H 326.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AC22B0
RGBrgb(172, 34, 176)
HSLhsl(298, 68%, 41%)
HSVhsv(298, 81%, 69%)
CMYKcmyk(2.3%, 80.7%, 0%, 31%)
CIE-LABlab(42.84, 68.53, -44.42)
CIE-LCHlch(42.84, 81.67, 327.05°)
OKLaboklab(53.74% 0.1893 -0.1236)
OKLCHoklch(53.74% 0.226 326.9)
XYZxyz(25.4213, 13.0511, 42.2461)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22B0 #26B022
analogous
#6522B0 #AC22B0 #B0226D
triadic
#AC22B0 #B0AC22 #22B0AC
tetradic
#AC22B0 #B06522 #26B022 #226DB0
square
#AC22B0 #B06522 #26B022 #226DB0
split-complementary
#AC22B0 #6DB022 #22B065
monochromatic
#480E49 #7A187D #AC22B0 #D437D8 #DF6AE2

Accessibility & contrast

On white

5.82
#AC22B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC22B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22B0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22B0#FFFFFF#000000##FFFFFF
##AC22B01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#496BAD
Tritanopia (blue-blind)
#B13D6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac22b0;
/* rgb */ color: rgb(172, 34, 176);
/* oklch */ color: oklch(53.7% 0.226 326.9);
Tailwind
colors: {
  custom: {
    50: '#c970c8',
    500: '#ac22b0',
    950: '#000000',
  },
}
SCSS
$custom: #ac22b0;
$custom-light: #c970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22b0",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 298.31,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.22608,
    "h": 326.9
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#AC22B0
secondary
#68C866
accent
#EA3D42
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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