#AC2CAA#AC2CAA

#AC2CAA is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.212 H 328.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AC2CAA
RGBrgb(172, 44, 170)
HSLhsl(301, 59%, 42%)
HSVhsv(301, 74%, 67%)
CMYKcmyk(0%, 74.4%, 1.2%, 32.5%)
CIE-LABlab(43.47, 64.74, -39.86)
CIE-LCHlch(43.47, 76.02, 328.38°)
OKLaboklab(54.08% 0.1816 -0.1103)
OKLCHoklch(54.08% 0.212 328.7)
XYZxyz(25.1694, 13.4762, 39.2979)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CAA #2CAC2E
analogous
#6E2CAC #AC2CAA #AC2C6A
triadic
#AC2CAA #AAAC2C #2CAAAC
tetradic
#AC2CAA #AC6E2C #2CAC2E #2C6AAC
square
#AC2CAA #AC6E2C #2CAC2E #2C6AAC
split-complementary
#AC2CAA #6AAC2C #2CAC6E
monochromatic
#4B134A #7B207A #AC2CAA #D046CD #DC76DA

Accessibility & contrast

On white

5.68
#AC2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AC2CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CAA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CAA#FFFFFF#000000##FFFFFF
##AC2CAA1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#516DA7
Tritanopia (blue-blind)
#B23F69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2caa;
/* rgb */ color: rgb(172, 44, 170);
/* oklch */ color: oklch(54.1% 0.212 328.7);
Tailwind
colors: {
  custom: {
    50: '#c973c4',
    500: '#ac2caa',
    950: '#000000',
  },
}
SCSS
$custom: #ac2caa;
$custom-light: #c973c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2caa",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 300.938,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.21247,
    "h": 328.7
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#AC2CAA
secondary
#70C471
accent
#E24845
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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