#AC2AB4#AC2AB4

#AC2AB4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.222 H 325.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AC2AB4
RGBrgb(172, 42, 180)
HSLhsl(297, 62%, 44%)
HSVhsv(297, 77%, 71%)
CMYKcmyk(4.4%, 76.7%, 0%, 29.4%)
CIE-LABlab(43.83, 67.00, -45.20)
CIE-LCHlch(43.83, 80.82, 325.99°)
OKLaboklab(54.52% 0.183 -0.1259)
OKLCHoklch(54.52% 0.222 325.5)
XYZxyz(26.0789, 13.7236, 44.4465)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AB4 #32B42A
analogous
#672AB4 #AC2AB4 #B42A77
triadic
#AC2AB4 #B4AC2A #2AB4AC
tetradic
#AC2AB4 #B4672A #32B42A #2A77B4
square
#AC2AB4 #B4672A #32B42A #2A77B4
split-complementary
#AC2AB4 #77B42A #2AB467
monochromatic
#4D1351 #7D1E82 #AC2AB4 #CC47D4 #DA79E0

Accessibility & contrast

On white

5.61
#AC2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AC2AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AB4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AB4#FFFFFF#000000##FFFFFF
##AC2AB41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#B0436E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2ab4;
/* rgb */ color: rgb(172, 42, 180);
/* oklch */ color: oklch(54.5% 0.222 325.5);
Tailwind
colors: {
  custom: {
    50: '#c973cb',
    500: '#ac2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ab4;
$custom-light: #c973cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ab4",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 296.522,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.2221,
    "h": 325.5
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#AC2AB4
secondary
#77C872
accent
#E5434C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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