#AC52CC#AC52CC

#AC52CC is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.194 H 316.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AC52CC
RGBrgb(172, 82, 204)
HSLhsl(284, 54%, 56%)
HSVhsv(284, 60%, 80%)
CMYKcmyk(15.7%, 59.8%, 0%, 20%)
CIE-LABlab(50.88, 55.63, -47.91)
CIE-LCHlch(50.88, 73.42, 319.26°)
OKLaboklab(60.03% 0.14 -0.1341)
OKLCHoklch(60.03% 0.194 316.2)
XYZxyz(30.9280, 19.1660, 59.1853)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52CC #72CC52
analogous
#6F52CC #AC52CC #CC52AF
triadic
#AC52CC #CCAC52 #52CCAC
tetradic
#AC52CC #CC6F52 #72CC52 #52AFCC
square
#AC52CC #CC6F52 #72CC52 #52AFCC
split-complementary
#AC52CC #AFCC52 #52CC6F
monochromatic
#67257E #8E33AE #AC52CC #C381DA #D9B1E8

Accessibility & contrast

On white

4.35
#AC52CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AC52CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52CC#FFFFFF#000000##000000
##AC52CC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#AA6787
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac52cc;
/* rgb */ color: rgb(172, 82, 204);
/* oklch */ color: oklch(60.0% 0.194 316.2);
Tailwind
colors: {
  custom: {
    50: '#c887dc',
    500: '#ac52cc',
    950: '#000000',
  },
}
SCSS
$custom: #ac52cc;
$custom-light: #c887dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52cc",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 284.262,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.19386,
    "h": 316.2
  },
  "luminance": 0.19165
}

Semantic roles & 50–950 ramp

primary
#AC52CC
secondary
#B1D6A4
accent
#DE4A71
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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