#AC25B1#AC25B1

#AC25B1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.224 H 326.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AC25B1
RGBrgb(172, 37, 177)
HSLhsl(298, 65%, 42%)
HSVhsv(298, 79%, 69%)
CMYKcmyk(2.8%, 79.1%, 0%, 30.6%)
CIE-LABlab(43.17, 67.91, -44.49)
CIE-LCHlch(43.17, 81.19, 326.77°)
OKLaboklab(53.99% 0.1871 -0.1238)
OKLCHoklch(53.99% 0.224 326.5)
XYZxyz(25.6102, 13.2699, 42.7989)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC25B1 #2AB125
analogous
#6625B1 #AC25B1 #B12570
triadic
#AC25B1 #B1AC25 #25B1AC
tetradic
#AC25B1 #B16625 #2AB125 #2570B1
square
#AC25B1 #B16625 #2AB125 #2570B1
split-complementary
#AC25B1 #70B125 #25B166
monochromatic
#4A104C #7B1A7E #AC25B1 #D13DD6 #DD6FE1

Accessibility & contrast

On white

5.75
#AC25B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC25B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC25B1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC25B1#FFFFFF#000000##FFFFFF
##AC25B11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#496CAE
Tritanopia (blue-blind)
#B13F6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac25b1;
/* rgb */ color: rgb(172, 37, 177);
/* oklch */ color: oklch(54.0% 0.224 326.5);
Tailwind
colors: {
  custom: {
    50: '#c971c9',
    500: '#ac25b1',
    950: '#000000',
  },
}
SCSS
$custom: #ac25b1;
$custom-light: #c971c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac25b1",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 297.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.22434,
    "h": 326.5
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#AC25B1
secondary
#6DC86A
accent
#E83F45
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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