#AC52AC#AC52AC

#AC52AC is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.3% C 0.163 H 327.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AC52AC
RGBrgb(172, 82, 172)
HSLhsl(300, 35%, 50%)
HSVhsv(300, 52%, 67%)
CMYKcmyk(0%, 52.3%, 0%, 32.5%)
CIE-LABlab(49.23, 49.42, -31.96)
CIE-LCHlch(49.23, 58.85, 327.11°)
OKLaboklab(58.29% 0.1374 -0.0878)
OKLCHoklch(58.29% 0.163 327.4)
XYZxyz(27.4765, 17.7854, 41.0074)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52AC #52AC52
analogous
#7F52AC #AC52AC #AC527F
triadic
#AC52AC #ACAC52 #52ACAC
tetradic
#AC52AC #AC7F52 #52AC52 #527FAC
square
#AC52AC #AC7F52 #52AC52 #527FAC
split-complementary
#AC52AC #7FAC52 #52AC7F
monochromatic
#592A59 #833E83 #AC52AC #C07BC0 #D4A5D4

Accessibility & contrast

On white

4.61
#AC52AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AC52AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC52AC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52AC#FFFFFF#000000##FFFFFF
##AC52AC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496EAF
Deuteranopia (green-blind)
#6579A9
Tritanopia (blue-blind)
#B15C77
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac52ac;
/* rgb */ color: rgb(172, 82, 172);
/* oklch */ color: oklch(58.3% 0.163 327.4);
Tailwind
colors: {
  custom: {
    50: '#c787c5',
    500: '#ac52ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac52ac;
$custom-light: #c787c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52ac",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.16307,
    "h": 327.4
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#AC52AC
secondary
#99C199
accent
#CB5C5C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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