#AC2AC5#AC2AC5

#AC2AC5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.235 H 320.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AC2AC5
RGBrgb(172, 42, 197)
HSLhsl(290, 65%, 47%)
HSVhsv(290, 79%, 77%)
CMYKcmyk(12.7%, 78.7%, 0%, 22.7%)
CIE-LABlab(44.88, 69.93, -53.47)
CIE-LCHlch(44.88, 88.03, 322.60°)
OKLaboklab(55.6% 0.1815 -0.15)
OKLCHoklch(55.6% 0.235 320.4)
XYZxyz(27.9180, 14.4593, 54.1329)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AC5 #43C52A
analogous
#5F2AC5 #AC2AC5 #C52A90
triadic
#AC2AC5 #C5AC2A #2AC5AC
tetradic
#AC2AC5 #C55F2A #43C52A #2A90C5
square
#AC2AC5 #C55F2A #43C52A #2A90C5
split-complementary
#AC2AC5 #90C52A #2AC55F
monochromatic
#541460 #801F93 #AC2AC5 #C452DA #D585E5

Accessibility & contrast

On white

5.40
#AC2AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AC2AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AC5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AC5#FFFFFF#000000##FFFFFF
##AC2AC51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#3B6FC2
Tritanopia (blue-blind)
#AD4C78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ac2ac5;
/* rgb */ color: rgb(172, 42, 197);
/* oklch */ color: oklch(55.6% 0.235 320.4);
Tailwind
colors: {
  custom: {
    50: '#c973d7',
    500: '#ac2ac5',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ac5;
$custom-light: #c973d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ac5",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 290.323,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.23546,
    "h": 320.4
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#AC2AC5
secondary
#8ACE7D
accent
#E8405B
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AC2AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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