#AC25AC#AC25AC

#AC25AC is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.221 H 328.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AC25AC
RGBrgb(172, 37, 172)
HSLhsl(300, 65%, 41%)
HSVhsv(300, 78%, 67%)
CMYKcmyk(0%, 78.5%, 0%, 32.5%)
CIE-LABlab(42.87, 67.10, -42.00)
CIE-LCHlch(42.87, 79.16, 327.96°)
OKLaboklab(53.69% 0.1873 -0.1165)
OKLCHoklch(53.69% 0.221 328.1)
XYZxyz(25.1209, 13.0742, 40.2222)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25AC #25AC25
analogous
#6825AC #AC25AC #AC2568
triadic
#AC25AC #ACAC25 #25ACAC
tetradic
#AC25AC #AC6825 #25AC25 #2568AC
square
#AC25AC #AC6825 #25AC25 #2568AC
split-complementary
#AC25AC #68AC25 #25AC68
monochromatic
#470F47 #7A1A7A #AC25AC #D53AD5 #DF6CDF

Accessibility & contrast

On white

5.81
#AC25AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC25AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC25AC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC25AC#FFFFFF#000000##FFFFFF
##AC25AC1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4D6BA9
Tritanopia (blue-blind)
#B23C69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac25ac;
/* rgb */ color: rgb(172, 37, 172);
/* oklch */ color: oklch(53.7% 0.221 328.1);
Tailwind
colors: {
  custom: {
    50: '#c971c5',
    500: '#ac25ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac25ac;
$custom-light: #c971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25ac",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.22061,
    "h": 328.1
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#AC25AC
secondary
#67C667
accent
#E84040
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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