#AC24AC#AC24AC

#AC24AC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.221 H 328.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AC24AC
RGBrgb(172, 36, 172)
HSLhsl(300, 65%, 41%)
HSVhsv(300, 79%, 67%)
CMYKcmyk(0%, 79.1%, 0%, 32.5%)
CIE-LABlab(42.78, 67.37, -42.14)
CIE-LCHlch(42.78, 79.47, 327.97°)
OKLaboklab(53.62% 0.1881 -0.1169)
OKLCHoklch(53.62% 0.221 328.1)
XYZxyz(25.0902, 13.0129, 40.2120)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC24AC #24AC24
analogous
#6824AC #AC24AC #AC2468
triadic
#AC24AC #ACAC24 #24ACAC
tetradic
#AC24AC #AC6824 #24AC24 #2468AC
square
#AC24AC #AC6824 #24AC24 #2468AC
split-complementary
#AC24AC #68AC24 #24AC68
monochromatic
#470F47 #791979 #AC24AC #D538D5 #E06AE0

Accessibility & contrast

On white

5.83
#AC24AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC24AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC24AC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC24AC#FFFFFF#000000##FFFFFF
##AC24AC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#B23C68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac24ac;
/* rgb */ color: rgb(172, 36, 172);
/* oklch */ color: oklch(53.6% 0.221 328.1);
Tailwind
colors: {
  custom: {
    50: '#c970c5',
    500: '#ac24ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac24ac;
$custom-light: #c970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac24ac",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.22147,
    "h": 328.1
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#AC24AC
secondary
#66C666
accent
#E83F3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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