#AC2E9A#AC2E9A

#AC2E9A is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.198 H 334.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AC2E9A
RGBrgb(172, 46, 154)
HSLhsl(309, 58%, 43%)
HSVhsv(309, 73%, 67%)
CMYKcmyk(0%, 73.3%, 10.5%, 32.5%)
CIE-LABlab(42.85, 61.57, -31.27)
CIE-LCHlch(42.85, 69.06, 333.08°)
OKLaboklab(53.36% 0.1791 -0.0855)
OKLCHoklch(53.36% 0.198 334.5)
XYZxyz(23.8232, 13.0598, 31.8317)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E9A #2EAC40
analogous
#7F2EAC #AC2E9A #AC2E5B
triadic
#AC2E9A #9AAC2E #2E9AAC
tetradic
#AC2E9A #AC7F2E #2EAC40 #2E5BAC
square
#AC2E9A #AC7F2E #2EAC40 #2E5BAC
split-complementary
#AC2E9A #5BAC2E #2EAC7F
monochromatic
#4B1444 #7C216F #AC2E9A #CE49BB #DB79CD

Accessibility & contrast

On white

5.81
#AC2E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2E9A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E9A#FFFFFF#000000##FFFFFF
##AC2E9A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599D
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#B43961
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2e9a;
/* rgb */ color: rgb(172, 46, 154);
/* oklch */ color: oklch(53.4% 0.198 334.5);
Tailwind
colors: {
  custom: {
    50: '#c873b8',
    500: '#ac2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e9a;
$custom-light: #c873b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e9a",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 308.571,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.19847,
    "h": 334.5
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#AC2E9A
secondary
#72C37E
accent
#E15D47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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