#AC2497#AC2497

#AC2497 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.206 H 335.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC2497
RGBrgb(172, 36, 151)
HSLhsl(309, 65%, 41%)
HSVhsv(309, 79%, 67%)
CMYKcmyk(0%, 79.1%, 12.2%, 32.5%)
CIE-LABlab(41.64, 64.17, -31.36)
CIE-LCHlch(41.64, 71.42, 333.95°)
OKLaboklab(52.44% 0.1879 -0.0857)
OKLCHoklch(52.44% 0.207 335.5)
XYZxyz(23.2304, 12.2689, 30.4168)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2497 #24AC39
analogous
#7D24AC #AC2497 #AC2453
triadic
#AC2497 #97AC24 #2497AC
tetradic
#AC2497 #AC7D24 #24AC39 #2453AC
square
#AC2497 #AC7D24 #24AC39 #2453AC
split-complementary
#AC2497 #53AC24 #24AC7D
monochromatic
#470F3E #79196B #AC2497 #D538BD #E06ACE

Accessibility & contrast

On white

6.08
#AC2497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC2497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2497
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2497#FFFFFF#000000##FFFFFF
##AC24971.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#B5305C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2497;
/* rgb */ color: rgb(172, 36, 151);
/* oklch */ color: oklch(52.4% 0.206 335.5);
Tailwind
colors: {
  custom: {
    50: '#c96fb6',
    500: '#ac2497',
    950: '#000000',
  },
}
SCSS
$custom: #ac2497;
$custom-light: #c96fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2497",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 309.265,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.2065,
    "h": 335.5
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#AC2497
secondary
#66C675
accent
#E85A3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2497

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

Preview Lab → · Contrast checker → · Palette generator →

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