#AC2AA5#AC2AA5

#AC2AA5 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.211 H 330.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AC2AA5
RGBrgb(172, 42, 165)
HSLhsl(303, 61%, 42%)
HSVhsv(303, 76%, 67%)
CMYKcmyk(0%, 75.6%, 4.1%, 32.5%)
CIE-LABlab(42.98, 64.55, -37.66)
CIE-LCHlch(42.98, 74.74, 329.74°)
OKLaboklab(53.64% 0.1833 -0.1039)
OKLCHoklch(53.64% 0.211 330.4)
XYZxyz(24.6327, 13.1452, 36.8299)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AA5 #2AAC31
analogous
#722AAC #AC2AA5 #AC2A64
triadic
#AC2AA5 #A5AC2A #2AA5AC
tetradic
#AC2AA5 #AC722A #2AAC31 #2A64AC
square
#AC2AA5 #AC722A #2AAC31 #2A64AC
split-complementary
#AC2AA5 #64AC2A #2AAC72
monochromatic
#4A1247 #7B1E76 #AC2AA5 #D142C9 #DD73D7

Accessibility & contrast

On white

5.79
#AC2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC2AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AA5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AA5#FFFFFF#000000##FFFFFF
##AC2AA51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA8
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#B33C66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2aa5;
/* rgb */ color: rgb(172, 42, 165);
/* oklch */ color: oklch(53.6% 0.211 330.4);
Tailwind
colors: {
  custom: {
    50: '#c972c0',
    500: '#ac2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #ac2aa5;
$custom-light: #c972c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2aa5",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 303.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.21074,
    "h": 330.4
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#AC2AA5
secondary
#6DC472
accent
#E44D44
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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