#AC2A9E#AC2A9E

#AC2A9E is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.206 H 332.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC2A9E
RGBrgb(172, 42, 158)
HSLhsl(306, 61%, 42%)
HSVhsv(306, 76%, 67%)
CMYKcmyk(0%, 75.6%, 8.1%, 32.5%)
CIE-LABlab(42.61, 63.47, -34.06)
CIE-LCHlch(42.61, 72.03, 331.78°)
OKLaboklab(53.25% 0.1831 -0.0935)
OKLCHoklch(53.25% 0.206 332.9)
XYZxyz(24.0129, 12.8972, 33.5658)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A9E #2AAC38
analogous
#792AAC #AC2A9E #AC2A5D
triadic
#AC2A9E #9EAC2A #2A9EAC
tetradic
#AC2A9E #AC792A #2AAC38 #2A5DAC
square
#AC2A9E #AC792A #2AAC38 #2A5DAC
split-complementary
#AC2A9E #5DAC2A #2AAC79
monochromatic
#4A1244 #7B1E71 #AC2A9E #D142C2 #DD73D2

Accessibility & contrast

On white

5.87
#AC2A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC2A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A9E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A9E#FFFFFF#000000##FFFFFF
##AC2A9E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A1
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#B43862
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2a9e;
/* rgb */ color: rgb(172, 42, 158);
/* oklch */ color: oklch(53.2% 0.206 332.9);
Tailwind
colors: {
  custom: {
    50: '#c972bb',
    500: '#ac2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a9e;
$custom-light: #c972bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a9e",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 306.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.20562,
    "h": 332.9
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#AC2A9E
secondary
#6DC477
accent
#E45544
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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