#AC25A6#AC25A6

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

Color values

HEX#AC25A6
RGBrgb(172, 37, 166)
HSLhsl(303, 65%, 41%)
HSVhsv(303, 78%, 67%)
CMYKcmyk(0%, 78.5%, 3.5%, 32.5%)
CIE-LABlab(42.53, 66.15, -38.96)
CIE-LCHlch(42.53, 76.78, 329.50°)
OKLaboklab(53.34% 0.1875 -0.1077)
OKLCHoklch(53.34% 0.216 330.1)
XYZxyz(24.5577, 12.8489, 37.2557)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25A6 #25AC2B
analogous
#6E25AC #AC25A6 #AC2562
triadic
#AC25A6 #A6AC25 #25A6AC
tetradic
#AC25A6 #AC6E25 #25AC2B #2562AC
square
#AC25A6 #AC6E25 #25AC2B #2562AC
split-complementary
#AC25A6 #62AC25 #25AC6E
monochromatic
#470F45 #7A1A75 #AC25A6 #D53ACE #DF6CDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC25A6#FFFFFF#000000##FFFFFF
##AC25A61.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)
#0D59A9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#B33965
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac25a6;
/* rgb */ color: rgb(172, 37, 166);
/* oklch */ color: oklch(53.3% 0.216 330.1);
Tailwind
colors: {
  custom: {
    50: '#c970c1',
    500: '#ac25a6',
    950: '#000000',
  },
}
SCSS
$custom: #ac25a6;
$custom-light: #c970c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25a6",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 302.667,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.2162,
    "h": 330.1
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#AC25A6
secondary
#67C66B
accent
#E84840
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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