#AC2DA4#AC2DA4

#AC2DA4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.207 H 330.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AC2DA4
RGBrgb(172, 45, 164)
HSLhsl(304, 59%, 43%)
HSVhsv(304, 74%, 67%)
CMYKcmyk(0%, 73.8%, 4.7%, 32.5%)
CIE-LABlab(43.26, 63.45, -36.63)
CIE-LCHlch(43.26, 73.27, 330.01°)
OKLaboklab(53.82% 0.1806 -0.101)
OKLCHoklch(53.82% 0.207 330.8)
XYZxyz(24.6524, 13.3297, 36.3892)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DA4 #2DAC35
analogous
#752DAC #AC2DA4 #AC2D64
triadic
#AC2DA4 #A4AC2D #2DA4AC
tetradic
#AC2DA4 #AC752D #2DAC35 #2D64AC
square
#AC2DA4 #AC752D #2DAC35 #2D64AC
split-complementary
#AC2DA4 #64AC2D #2DAC75
monochromatic
#4B1447 #7B2076 #AC2DA4 #CF47C6 #DC78D5

Accessibility & contrast

On white

5.73
#AC2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AC2DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DA4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DA4#FFFFFF#000000##FFFFFF
##AC2DA41.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA7
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#B33D66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2da4;
/* rgb */ color: rgb(172, 45, 164);
/* oklch */ color: oklch(53.8% 0.207 330.8);
Tailwind
colors: {
  custom: {
    50: '#c873bf',
    500: '#ac2da4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2da4;
$custom-light: #c873bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2da4",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 303.78,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53816,
    "c": 0.2069,
    "h": 330.8
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#AC2DA4
secondary
#71C476
accent
#E25046
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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