#AC24B1#AC24B1

#AC24B1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.225 H 326.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AC24B1
RGBrgb(172, 36, 177)
HSLhsl(298, 66%, 42%)
HSVhsv(298, 80%, 69%)
CMYKcmyk(2.8%, 79.7%, 0%, 30.6%)
CIE-LABlab(43.08, 68.18, -44.64)
CIE-LCHlch(43.08, 81.49, 326.79°)
OKLaboklab(53.92% 0.1878 -0.1242)
OKLCHoklch(53.92% 0.225 326.5)
XYZxyz(25.5795, 13.2086, 42.7887)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC24B1 #29B124
analogous
#6524B1 #AC24B1 #B12470
triadic
#AC24B1 #B1AC24 #24B1AC
tetradic
#AC24B1 #B16524 #29B124 #2470B1
square
#AC24B1 #B16524 #29B124 #2470B1
split-complementary
#AC24B1 #70B124 #24B165
monochromatic
#490F4B #7B1A7E #AC24B1 #D23BD7 #DD6EE1

Accessibility & contrast

On white

5.77
#AC24B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AC24B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC24B1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC24B1#FFFFFF#000000##FFFFFF
##AC24B11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#496BAE
Tritanopia (blue-blind)
#B13F6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac24b1;
/* rgb */ color: rgb(172, 36, 177);
/* oklch */ color: oklch(53.9% 0.225 326.5);
Tailwind
colors: {
  custom: {
    50: '#c970c9',
    500: '#ac24b1',
    950: '#000000',
  },
}
SCSS
$custom: #ac24b1;
$custom-light: #c970c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac24b1",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 297.872,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53924,
    "c": 0.22519,
    "h": 326.5
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#AC24B1
secondary
#6CC869
accent
#E93F45
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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