#AC25A8#AC25A8

#AC25A8 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.218 H 329.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AC25A8
RGBrgb(172, 37, 168)
HSLhsl(302, 65%, 41%)
HSVhsv(302, 78%, 67%)
CMYKcmyk(0%, 78.5%, 2.3%, 32.5%)
CIE-LABlab(42.65, 66.47, -39.98)
CIE-LCHlch(42.65, 77.56, 328.97°)
OKLaboklab(53.45% 0.1874 -0.1106)
OKLCHoklch(53.45% 0.218 329.4)
XYZxyz(24.7425, 12.9229, 38.2294)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25A8 #25AC29
analogous
#6C25AC #AC25A8 #AC2564
triadic
#AC25A8 #A8AC25 #25A8AC
tetradic
#AC25A8 #AC6C25 #25AC29 #2564AC
square
#AC25A8 #AC6C25 #25AC29 #2564AC
split-complementary
#AC25A8 #64AC25 #25AC6C
monochromatic
#470F46 #7A1A77 #AC25A8 #D53AD0 #DF6CDC

Accessibility & contrast

On white

5.86
#AC25A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC25A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC25A8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC25A8#FFFFFF#000000##FFFFFF
##AC25A81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac25a8;
/* rgb */ color: rgb(172, 37, 168);
/* oklch */ color: oklch(53.5% 0.218 329.4);
Tailwind
colors: {
  custom: {
    50: '#c970c2',
    500: '#ac25a8',
    950: '#000000',
  },
}
SCSS
$custom: #ac25a8;
$custom-light: #c970c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25a8",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 301.778,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.21766,
    "h": 329.4
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#AC25A8
secondary
#67C66A
accent
#E84540
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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