#AC25A4#AC25A4

#AC25A4 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.215 H 330.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AC25A4
RGBrgb(172, 37, 164)
HSLhsl(304, 65%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 78.5%, 4.7%, 32.5%)
CIE-LABlab(42.42, 65.84, -37.94)
CIE-LCHlch(42.42, 75.99, 330.05°)
OKLaboklab(53.22% 0.1875 -0.1047)
OKLCHoklch(53.22% 0.215 330.8)
XYZxyz(24.3756, 12.7761, 36.2970)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25A4 #25AC2D
analogous
#7025AC #AC25A4 #AC2560
triadic
#AC25A4 #A4AC25 #25A4AC
tetradic
#AC25A4 #AC7025 #25AC2D #2560AC
square
#AC25A4 #AC7025 #25AC2D #2560AC
split-complementary
#AC25A4 #60AC25 #25AC70
monochromatic
#470F44 #7A1A74 #AC25A4 #D53ACB #DF6CD9

Accessibility & contrast

On white

5.91
#AC25A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC25A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC25A4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC25A4#FFFFFF#000000##FFFFFF
##AC25A41.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#516BA1
Tritanopia (blue-blind)
#B33864
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac25a4;
/* rgb */ color: rgb(172, 37, 164);
/* oklch */ color: oklch(53.2% 0.215 330.8);
Tailwind
colors: {
  custom: {
    50: '#c970bf',
    500: '#ac25a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac25a4;
$custom-light: #c970bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25a4",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 303.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.21475,
    "h": 330.8
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#AC25A4
secondary
#67C66D
accent
#E84A40
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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