#AC2D9A#AC2D9A

#AC2D9A is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.3% C 0.200 H 334.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC2D9A
RGBrgb(172, 45, 154)
HSLhsl(309, 59%, 43%)
HSVhsv(309, 74%, 67%)
CMYKcmyk(0%, 73.8%, 10.5%, 32.5%)
CIE-LABlab(42.74, 61.90, -31.45)
CIE-LCHlch(42.74, 69.44, 333.07°)
OKLaboklab(53.27% 0.1801 -0.086)
OKLCHoklch(53.27% 0.2 334.5)
XYZxyz(23.7846, 12.9826, 31.8188)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D9A #2DAC3F
analogous
#7E2DAC #AC2D9A #AC2D5A
triadic
#AC2D9A #9AAC2D #2D9AAC
tetradic
#AC2D9A #AC7E2D #2DAC3F #2D5AAC
square
#AC2D9A #AC7E2D #2DAC3F #2D5AAC
split-complementary
#AC2D9A #5AAC2D #2DAC7E
monochromatic
#4B1443 #7B206F #AC2D9A #CF47BC #DC78CD

Accessibility & contrast

On white

5.84
#AC2D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC2D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D9A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D9A#FFFFFF#000000##FFFFFF
##AC2D9A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599D
Deuteranopia (green-blind)
#596C97
Tritanopia (blue-blind)
#B43861
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2d9a;
/* rgb */ color: rgb(172, 45, 154);
/* oklch */ color: oklch(53.3% 0.200 334.5);
Tailwind
colors: {
  custom: {
    50: '#c873b8',
    500: '#ac2d9a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d9a;
$custom-light: #c873b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d9a",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 308.504,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.19957,
    "h": 334.5
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#AC2D9A
secondary
#71C47D
accent
#E25C46
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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