#AC52C4#AC52C4

#AC52C4 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.6% C 0.186 H 318.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AC52C4
RGBrgb(172, 82, 196)
HSLhsl(287, 49%, 55%)
HSVhsv(287, 58%, 77%)
CMYKcmyk(12.2%, 58.2%, 0%, 23.1%)
CIE-LABlab(50.44, 54.01, -44.01)
CIE-LCHlch(50.44, 69.67, 320.83°)
OKLaboklab(59.57% 0.1397 -0.1227)
OKLCHoklch(59.57% 0.186 318.7)
XYZxyz(29.9930, 18.7920, 54.2612)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52C4 #6AC452
analogous
#7352C4 #AC52C4 #C452A3
triadic
#AC52C4 #C4AC52 #52C4AC
tetradic
#AC52C4 #C47352 #6AC452 #52A3C4
square
#AC52C4 #C47352 #6AC452 #52A3C4
split-complementary
#AC52C4 #A3C452 #52C473
monochromatic
#642874 #8B37A2 #AC52C4 #C280D4 #D8ADE3

Accessibility & contrast

On white

4.41
#AC52C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AC52C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52C4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52C4#FFFFFF#000000##000000
##AC52C41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3772C8
Deuteranopia (green-blind)
#587BC1
Tritanopia (blue-blind)
#AC6483
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac52c4;
/* rgb */ color: rgb(172, 82, 196);
/* oklch */ color: oklch(59.6% 0.186 318.7);
Tailwind
colors: {
  custom: {
    50: '#c787d6',
    500: '#ac52c4',
    950: '#000000',
  },
}
SCSS
$custom: #ac52c4;
$custom-light: #c787d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52c4",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 287.368,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.18594,
    "h": 318.7
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#AC52C4
secondary
#ABD1A1
accent
#D94F6C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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