#AC2AA1#AC2AA1

#AC2AA1 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.208 H 331.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AC2AA1
RGBrgb(172, 42, 161)
HSLhsl(305, 61%, 42%)
HSVhsv(305, 76%, 67%)
CMYKcmyk(0%, 75.6%, 6.4%, 32.5%)
CIE-LABlab(42.77, 63.93, -35.61)
CIE-LCHlch(42.77, 73.18, 330.88°)
OKLaboklab(53.41% 0.1832 -0.098)
OKLCHoklch(53.41% 0.208 331.9)
XYZxyz(24.2743, 13.0018, 34.9424)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AA1 #2AAC35
analogous
#762AAC #AC2AA1 #AC2A60
triadic
#AC2AA1 #A1AC2A #2AA1AC
tetradic
#AC2AA1 #AC762A #2AAC35 #2A60AC
square
#AC2AA1 #AC762A #2AAC35 #2A60AC
split-complementary
#AC2AA1 #60AC2A #2AAC76
monochromatic
#4A1245 #7B1E73 #AC2AA1 #D142C5 #DD73D4

Accessibility & contrast

On white

5.83
#AC2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2AA1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AA1#FFFFFF#000000##FFFFFF
##AC2AA11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#556B9E
Tritanopia (blue-blind)
#B33A64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2aa1;
/* rgb */ color: rgb(172, 42, 161);
/* oklch */ color: oklch(53.4% 0.208 331.9);
Tailwind
colors: {
  custom: {
    50: '#c972bd',
    500: '#ac2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #ac2aa1;
$custom-light: #c972bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2aa1",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 305.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.20779,
    "h": 331.9
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#AC2AA1
secondary
#6DC475
accent
#E45144
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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