#AC24A8#AC24A8

#AC24A8 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.219 H 329.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC24A8
RGBrgb(172, 36, 168)
HSLhsl(302, 65%, 41%)
HSVhsv(302, 79%, 67%)
CMYKcmyk(0%, 79.1%, 2.3%, 32.5%)
CIE-LABlab(42.55, 66.74, -40.13)
CIE-LCHlch(42.55, 77.87, 328.98°)
OKLaboklab(53.39% 0.1882 -0.1111)
OKLCHoklch(53.39% 0.219 329.5)
XYZxyz(24.7119, 12.8615, 38.2192)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC24A8 #24AC28
analogous
#6C24AC #AC24A8 #AC2464
triadic
#AC24A8 #A8AC24 #24A8AC
tetradic
#AC24A8 #AC6C24 #24AC28 #2464AC
square
#AC24A8 #AC6C24 #24AC28 #2464AC
split-complementary
#AC24A8 #64AC24 #24AC6C
monochromatic
#470F45 #791977 #AC24A8 #D538D1 #E06ADC

Accessibility & contrast

On white

5.88
#AC24A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC24A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC24A8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC24A8#FFFFFF#000000##FFFFFF
##AC24A81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0459AB
Deuteranopia (green-blind)
#4F6BA5
Tritanopia (blue-blind)
#B23A66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac24a8;
/* rgb */ color: rgb(172, 36, 168);
/* oklch */ color: oklch(53.4% 0.219 329.5);
Tailwind
colors: {
  custom: {
    50: '#c970c2',
    500: '#ac24a8',
    950: '#000000',
  },
}
SCSS
$custom: #ac24a8;
$custom-light: #c970c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac24a8",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 301.765,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53385,
    "c": 0.21853,
    "h": 329.5
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#AC24A8
secondary
#66C669
accent
#E8443F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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