#AC24A7#AC24A7

#AC24A7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.218 H 329.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AC24A7
RGBrgb(172, 36, 167)
HSLhsl(302, 65%, 41%)
HSVhsv(302, 79%, 67%)
CMYKcmyk(0%, 79.1%, 2.9%, 32.5%)
CIE-LABlab(42.50, 66.58, -39.62)
CIE-LCHlch(42.50, 77.48, 329.24°)
OKLaboklab(53.33% 0.1882 -0.1096)
OKLCHoklch(53.33% 0.218 329.8)
XYZxyz(24.6191, 12.8244, 37.7304)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC24A7 #24AC29
analogous
#6D24AC #AC24A7 #AC2463
triadic
#AC24A7 #A7AC24 #24A7AC
tetradic
#AC24A7 #AC6D24 #24AC29 #2463AC
square
#AC24A7 #AC6D24 #24AC29 #2463AC
split-complementary
#AC24A7 #63AC24 #24AC6D
monochromatic
#470F45 #791976 #AC24A7 #D538D0 #E06ADC

Accessibility & contrast

On white

5.89
#AC24A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC24A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC24A7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC24A7#FFFFFF#000000##FFFFFF
##AC24A71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0759AA
Deuteranopia (green-blind)
#4F6BA4
Tritanopia (blue-blind)
#B23966
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac24a7;
/* rgb */ color: rgb(172, 36, 167);
/* oklch */ color: oklch(53.3% 0.218 329.8);
Tailwind
colors: {
  custom: {
    50: '#c970c1',
    500: '#ac24a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac24a7;
$custom-light: #c970c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac24a7",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 302.206,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53327,
    "c": 0.21781,
    "h": 329.8
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#AC24A7
secondary
#66C669
accent
#E8463F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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