#AC25A5#AC25A5

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

Color values

HEX#AC25A5
RGBrgb(172, 37, 165)
HSLhsl(303, 65%, 41%)
HSVhsv(303, 78%, 67%)
CMYKcmyk(0%, 78.5%, 4.1%, 32.5%)
CIE-LABlab(42.48, 66.00, -38.45)
CIE-LCHlch(42.48, 76.38, 329.77°)
OKLaboklab(53.28% 0.1875 -0.1062)
OKLCHoklch(53.28% 0.215 330.5)
XYZxyz(24.4663, 12.8124, 36.7745)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25A5 #25AC2C
analogous
#6F25AC #AC25A5 #AC2561
triadic
#AC25A5 #A5AC25 #25A5AC
tetradic
#AC25A5 #AC6F25 #25AC2C #2561AC
square
#AC25A5 #AC6F25 #25AC2C #2561AC
split-complementary
#AC25A5 #61AC25 #25AC6F
monochromatic
#470F44 #7A1A75 #AC25A5 #D53ACD #DF6CD9

Accessibility & contrast

On white

5.90
#AC25A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC25A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC25A5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC25A5#FFFFFF#000000##FFFFFF
##AC25A51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#B33965
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac25a5;
/* rgb */ color: rgb(172, 37, 165);
/* oklch */ color: oklch(53.3% 0.215 330.5);
Tailwind
colors: {
  custom: {
    50: '#c970c0',
    500: '#ac25a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac25a5;
$custom-light: #c970c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25a5",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 303.111,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.21547,
    "h": 330.5
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#AC25A5
secondary
#67C66C
accent
#E84940
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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