#AC2AB9#AC2AB9

#AC2AB9 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.226 H 323.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AC2AB9
RGBrgb(172, 42, 185)
HSLhsl(295, 63%, 45%)
HSVhsv(295, 77%, 73%)
CMYKcmyk(7%, 77.3%, 0%, 27.5%)
CIE-LABlab(44.13, 67.84, -47.66)
CIE-LCHlch(44.13, 82.91, 324.91°)
OKLaboklab(54.83% 0.1827 -0.1331)
OKLCHoklch(54.83% 0.226 323.9)
XYZxyz(26.5974, 13.9311, 47.1776)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AB9 #37B92A
analogous
#642AB9 #AC2AB9 #B92A7F
triadic
#AC2AB9 #B9AC2A #2AB9AC
tetradic
#AC2AB9 #B9642A #37B92A #2A7FB9
square
#AC2AB9 #B9642A #37B92A #2A7FB9
split-complementary
#AC2AB9 #7FB92A #2AB964
monochromatic
#4F1355 #7E1F87 #AC2AB9 #C94AD6 #D87CE1

Accessibility & contrast

On white

5.55
#AC2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AC2AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AB9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AB9#FFFFFF#000000##FFFFFF
##AC2AB91.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#466DB6
Tritanopia (blue-blind)
#AF4671
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2ab9;
/* rgb */ color: rgb(172, 42, 185);
/* oklch */ color: oklch(54.8% 0.226 323.9);
Tailwind
colors: {
  custom: {
    50: '#c973cf',
    500: '#ac2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ab9;
$custom-light: #c973cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ab9",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 294.545,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.22599,
    "h": 323.9
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#AC2AB9
secondary
#7DCA75
accent
#E64251
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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