#AC52A6#AC52A6

#AC52A6 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.0% C 0.158 H 329.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AC52A6
RGBrgb(172, 82, 166)
HSLhsl(304, 35%, 50%)
HSVhsv(304, 52%, 67%)
CMYKcmyk(0%, 52.3%, 3.5%, 32.5%)
CIE-LABlab(48.96, 48.34, -28.87)
CIE-LCHlch(48.96, 56.30, 329.16°)
OKLaboklab(58% 0.1365 -0.079)
OKLCHoklch(58% 0.158 329.9)
XYZxyz(26.9132, 17.5601, 38.0409)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52A6 #52AC58
analogous
#8552AC #AC52A6 #AC5279
triadic
#AC52A6 #A6AC52 #52A6AC
tetradic
#AC52A6 #AC8552 #52AC58 #5279AC
square
#AC52A6 #AC8552 #52AC58 #5279AC
split-complementary
#AC52A6 #79AC52 #52AC85
monochromatic
#592A56 #833E7E #AC52A6 #C07BBC #D4A5D1

Accessibility & contrast

On white

4.65
#AC52A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AC52A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC52A6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52A6#FFFFFF#000000##FFFFFF
##AC52A61.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA9
Deuteranopia (green-blind)
#6879A3
Tritanopia (blue-blind)
#B25A74
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ac52a6;
/* rgb */ color: rgb(172, 82, 166);
/* oklch */ color: oklch(58.0% 0.158 329.9);
Tailwind
colors: {
  custom: {
    50: '#c786c0',
    500: '#ac52a6',
    950: '#000000',
  },
}
SCSS
$custom: #ac52a6;
$custom-light: #c786c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52a6",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 304,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57999,
    "c": 0.15765,
    "h": 329.9
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#AC52A6
secondary
#99C19B
accent
#CB645C
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC52A6

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

Preview Lab → · Contrast checker → · Palette generator →

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