#AC2AB5#AC2AB5

#AC2AB5 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.223 H 325.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AC2AB5
RGBrgb(172, 42, 181)
HSLhsl(296, 62%, 44%)
HSVhsv(296, 77%, 71%)
CMYKcmyk(5%, 76.8%, 0%, 29%)
CIE-LABlab(43.89, 67.17, -45.69)
CIE-LCHlch(43.89, 81.24, 325.77°)
OKLaboklab(54.58% 0.1829 -0.1273)
OKLCHoklch(54.58% 0.223 325.2)
XYZxyz(26.1811, 13.7645, 44.9849)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AB5 #33B52A
analogous
#662AB5 #AC2AB5 #B52A78
triadic
#AC2AB5 #B5AC2A #2AB5AC
tetradic
#AC2AB5 #B5662A #33B52A #2A78B5
square
#AC2AB5 #B5662A #33B52A #2A78B5
split-complementary
#AC2AB5 #78B52A #2AB566
monochromatic
#4E1352 #7D1E83 #AC2AB5 #CB48D4 #D979E0

Accessibility & contrast

On white

5.60
#AC2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AC2AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AB5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AB5#FFFFFF#000000##FFFFFF
##AC2AB51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#496DB2
Tritanopia (blue-blind)
#B0446F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2ab5;
/* rgb */ color: rgb(172, 42, 181);
/* oklch */ color: oklch(54.6% 0.223 325.2);
Tailwind
colors: {
  custom: {
    50: '#c973cc',
    500: '#ac2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ab5;
$custom-light: #c973cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ab5",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 296.115,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.22288,
    "h": 325.2
  },
  "luminance": 0.13763
}

Semantic roles & 50–950 ramp

primary
#AC2AB5
secondary
#78C873
accent
#E5424D
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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