#AC52A4#AC52A4

#AC52A4 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.9% C 0.156 H 330.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AC52A4
RGBrgb(172, 82, 164)
HSLhsl(305, 35%, 50%)
HSVhsv(305, 52%, 67%)
CMYKcmyk(0%, 52.3%, 4.7%, 32.5%)
CIE-LABlab(48.87, 47.98, -27.83)
CIE-LCHlch(48.87, 55.47, 329.89°)
OKLaboklab(57.9% 0.1361 -0.076)
OKLCHoklch(57.9% 0.156 330.8)
XYZxyz(26.7312, 17.4873, 37.0822)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52A4 #52AC5A
analogous
#8752AC #AC52A4 #AC5277
triadic
#AC52A4 #A4AC52 #52A4AC
tetradic
#AC52A4 #AC8752 #52AC5A #5277AC
square
#AC52A4 #AC8752 #52AC5A #5277AC
split-complementary
#AC52A4 #77AC52 #52AC87
monochromatic
#592A55 #833E7C #AC52A4 #C07BBA #D4A5D0

Accessibility & contrast

On white

4.67
#AC52A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AC52A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC52A4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52A4#FFFFFF#000000##FFFFFF
##AC52A41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA7
Deuteranopia (green-blind)
#6879A1
Tritanopia (blue-blind)
#B25974
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ac52a4;
/* rgb */ color: rgb(172, 82, 164);
/* oklch */ color: oklch(57.9% 0.156 330.8);
Tailwind
colors: {
  custom: {
    50: '#c786bf',
    500: '#ac52a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac52a4;
$custom-light: #c786bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52a4",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 305.333,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.15589,
    "h": 330.8
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#AC52A4
secondary
#99C19C
accent
#CB665C
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC52A4

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

Preview Lab → · Contrast checker → · Palette generator →

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