#AC2A9A#AC2A9A

#AC2A9A is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.203 H 334.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AC2A9A
RGBrgb(172, 42, 154)
HSLhsl(308, 61%, 42%)
HSVhsv(308, 76%, 67%)
CMYKcmyk(0%, 75.6%, 10.5%, 32.5%)
CIE-LABlab(42.40, 62.86, -31.98)
CIE-LCHlch(42.40, 70.53, 333.04°)
OKLaboklab(53.03% 0.1829 -0.0875)
OKLCHoklch(53.03% 0.203 334.4)
XYZxyz(23.6742, 12.7618, 31.7820)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A9A #2AAC3C
analogous
#7D2AAC #AC2A9A #AC2A59
triadic
#AC2A9A #9AAC2A #2A9AAC
tetradic
#AC2A9A #AC7D2A #2AAC3C #2A59AC
square
#AC2A9A #AC7D2A #2AAC3C #2A59AC
split-complementary
#AC2A9A #59AC2A #2AAC7D
monochromatic
#4A1242 #7B1E6E #AC2A9A #D142BD #DD73CE

Accessibility & contrast

On white

5.91
#AC2A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC2A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A9A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A9A#FFFFFF#000000##FFFFFF
##AC2A9A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#B43660
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2a9a;
/* rgb */ color: rgb(172, 42, 154);
/* oklch */ color: oklch(53.0% 0.203 334.4);
Tailwind
colors: {
  custom: {
    50: '#c972b8',
    500: '#ac2a9a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a9a;
$custom-light: #c972b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a9a",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 308.308,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.20275,
    "h": 334.4
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#AC2A9A
secondary
#6DC47A
accent
#E45A44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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