#AC52AE#AC52AE

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

Color values

HEX#AC52AE
RGBrgb(172, 82, 174)
HSLhsl(299, 36%, 50%)
HSVhsv(299, 53%, 68%)
CMYKcmyk(1.1%, 52.9%, 0%, 31.8%)
CIE-LABlab(49.33, 49.79, -32.98)
CIE-LCHlch(49.33, 59.72, 326.48°)
OKLaboklab(58.39% 0.1377 -0.0908)
OKLCHoklch(58.39% 0.165 326.6)
XYZxyz(27.6700, 17.8628, 42.0266)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52AE #54AE52
analogous
#7E52AE #AC52AE #AE5282
triadic
#AC52AE #AEAC52 #52AEAC
tetradic
#AC52AE #AE7E52 #54AE52 #5282AE
square
#AC52AE #AE7E52 #54AE52 #5282AE
split-complementary
#AC52AE #82AE52 #52AE7E
monochromatic
#5A2B5B #833E85 #AC52AE #C07CC2 #D4A5D5

Accessibility & contrast

On white

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

On black

4.57
#AC52AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AC52AE#FFFFFF#000000##FFFFFF
##AC52AE1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB1
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#B05D78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac52ae;
/* rgb */ color: rgb(172, 82, 174);
/* oklch */ color: oklch(58.4% 0.165 326.6);
Tailwind
colors: {
  custom: {
    50: '#c787c6',
    500: '#ac52ae',
    950: '#000000',
  },
}
SCSS
$custom: #ac52ae;
$custom-light: #c787c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52ae",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 298.696,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58394,
    "c": 0.1649,
    "h": 326.6
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#AC52AE
secondary
#9AC299
accent
#CC5C5E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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