#AC52AF#AC52AF

#AC52AF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.4% C 0.166 H 326.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AC52AF
RGBrgb(172, 82, 175)
HSLhsl(298, 37%, 50%)
HSVhsv(298, 53%, 69%)
CMYKcmyk(1.7%, 53.1%, 0%, 31.4%)
CIE-LABlab(49.38, 49.97, -33.49)
CIE-LCHlch(49.38, 60.16, 326.17°)
OKLaboklab(58.45% 0.1378 -0.0922)
OKLCHoklch(58.45% 0.166 326.2)
XYZxyz(27.7679, 17.9019, 42.5419)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52AF #55AF52
analogous
#7E52AF #AC52AF #AF5283
triadic
#AC52AF #AFAC52 #52AFAC
tetradic
#AC52AF #AF7E52 #55AF52 #5283AF
square
#AC52AF #AF7E52 #55AF52 #5283AF
split-complementary
#AC52AF #83AF52 #52AF7E
monochromatic
#5A2B5C #843E86 #AC52AF #C07CC2 #D4A6D6

Accessibility & contrast

On white

4.59
#AC52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AC52AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC52AF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52AF#FFFFFF#000000##FFFFFF
##AC52AF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#6479AC
Tritanopia (blue-blind)
#B05D79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac52af;
/* rgb */ color: rgb(172, 82, 175);
/* oklch */ color: oklch(58.4% 0.166 326.2);
Tailwind
colors: {
  custom: {
    50: '#c787c7',
    500: '#ac52af',
    950: '#000000',
  },
}
SCSS
$custom: #ac52af;
$custom-light: #c787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52af",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 298.065,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.16583,
    "h": 326.2
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

primary
#AC52AF
secondary
#9BC39A
accent
#CD5B5F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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