#AC2C9E#AC2C9E

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

Color values

HEX#AC2C9E
RGBrgb(172, 44, 158)
HSLhsl(307, 59%, 42%)
HSVhsv(307, 74%, 67%)
CMYKcmyk(0%, 74.4%, 8.1%, 32.5%)
CIE-LABlab(42.83, 62.84, -33.71)
CIE-LCHlch(42.83, 71.31, 331.79°)
OKLaboklab(53.41% 0.1813 -0.0925)
OKLCHoklch(53.41% 0.204 333)
XYZxyz(24.0856, 13.0427, 33.5901)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C9E #2CAC3A
analogous
#7A2CAC #AC2C9E #AC2C5E
triadic
#AC2C9E #9EAC2C #2C9EAC
tetradic
#AC2C9E #AC7A2C #2CAC3A #2C5EAC
square
#AC2C9E #AC7A2C #2CAC3A #2C5EAC
split-complementary
#AC2C9E #5EAC2C #2CAC7A
monochromatic
#4B1344 #7B2071 #AC2C9E #D046C0 #DC76D1

Accessibility & contrast

On white

5.82
#AC2C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC2C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C9E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C9E#FFFFFF#000000##FFFFFF
##AC2C9E1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A1
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#B43962
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2c9e;
/* rgb */ color: rgb(172, 44, 158);
/* oklch */ color: oklch(53.4% 0.204 333.0);
Tailwind
colors: {
  custom: {
    50: '#c873bb',
    500: '#ac2c9e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c9e;
$custom-light: #c873bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c9e",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 306.563,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.20353,
    "h": 333
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#AC2C9E
secondary
#70C479
accent
#E25745
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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