#AC25A1#AC25A1

#AC25A1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.213 H 331.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AC25A1
RGBrgb(172, 37, 161)
HSLhsl(305, 65%, 41%)
HSVhsv(305, 78%, 67%)
CMYKcmyk(0%, 78.5%, 6.4%, 32.5%)
CIE-LABlab(42.26, 65.38, -36.41)
CIE-LCHlch(42.26, 74.83, 330.89°)
OKLaboklab(53.05% 0.1875 -0.1003)
OKLCHoklch(53.05% 0.213 331.9)
XYZxyz(24.1079, 12.6690, 34.8870)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25A1 #25AC30
analogous
#7325AC #AC25A1 #AC255D
triadic
#AC25A1 #A1AC25 #25A1AC
tetradic
#AC25A1 #AC7325 #25AC30 #255DAC
square
#AC25A1 #AC7325 #25AC30 #255DAC
split-complementary
#AC25A1 #5DAC25 #25AC73
monochromatic
#470F43 #7A1A72 #AC25A1 #D53AC8 #DF6CD6

Accessibility & contrast

On white

5.94
#AC25A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC25A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC25A1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC25A1#FFFFFF#000000##FFFFFF
##AC25A11.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#536A9E
Tritanopia (blue-blind)
#B33662
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac25a1;
/* rgb */ color: rgb(172, 37, 161);
/* oklch */ color: oklch(53.1% 0.213 331.9);
Tailwind
colors: {
  custom: {
    50: '#c970bd',
    500: '#ac25a1',
    950: '#000000',
  },
}
SCSS
$custom: #ac25a1;
$custom-light: #c970bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25a1",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 304.889,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.21259,
    "h": 331.9
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#AC25A1
secondary
#67C66F
accent
#E84E40
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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