#AC25A7#AC25A7

#AC25A7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.217 H 329.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC25A7
RGBrgb(172, 37, 167)
HSLhsl(302, 65%, 41%)
HSVhsv(302, 78%, 67%)
CMYKcmyk(0%, 78.5%, 2.9%, 32.5%)
CIE-LABlab(42.59, 66.31, -39.47)
CIE-LCHlch(42.59, 77.17, 329.24°)
OKLaboklab(53.39% 0.1875 -0.1092)
OKLCHoklch(53.39% 0.217 329.8)
XYZxyz(24.6497, 12.8858, 37.7407)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25A7 #25AC2A
analogous
#6D25AC #AC25A7 #AC2563
triadic
#AC25A7 #A7AC25 #25A7AC
tetradic
#AC25A7 #AC6D25 #25AC2A #2563AC
square
#AC25A7 #AC6D25 #25AC2A #2563AC
split-complementary
#AC25A7 #63AC25 #25AC6D
monochromatic
#470F45 #7A1A76 #AC25A7 #D53ACF #DF6CDB

Accessibility & contrast

On white

5.87
#AC25A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC25A7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC25A7#FFFFFF#000000##FFFFFF
##AC25A71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A59AA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#B23A66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac25a7;
/* rgb */ color: rgb(172, 37, 167);
/* oklch */ color: oklch(53.4% 0.217 329.8);
Tailwind
colors: {
  custom: {
    50: '#c970c1',
    500: '#ac25a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac25a7;
$custom-light: #c970c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25a7",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 302.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53393,
    "c": 0.21693,
    "h": 329.8
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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