#AC52C0#AC52C0

#AC52C0 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.3% C 0.182 H 320.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AC52C0
RGBrgb(172, 82, 192)
HSLhsl(289, 47%, 54%)
HSVhsv(289, 57%, 75%)
CMYKcmyk(10.4%, 57.3%, 0%, 24.7%)
CIE-LABlab(50.23, 53.22, -42.04)
CIE-LCHlch(50.23, 67.82, 321.70°)
OKLaboklab(59.35% 0.1395 -0.1169)
OKLCHoklch(59.35% 0.182 320)
XYZxyz(29.5438, 18.6123, 51.8953)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52C0 #66C052
analogous
#7552C0 #AC52C0 #C0529D
triadic
#AC52C0 #C0AC52 #52C0AC
tetradic
#AC52C0 #C07552 #66C052 #529DC0
square
#AC52C0 #C07552 #66C052 #529DC0
split-complementary
#AC52C0 #9DC052 #52C075
monochromatic
#62286F #8A399C #AC52C0 #C27FD0 #D7ACE1

Accessibility & contrast

On white

4.45
#AC52C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AC52C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52C0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52C0#FFFFFF#000000##000000
##AC52C01.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C4
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#AD6381
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac52c0;
/* rgb */ color: rgb(172, 82, 192);
/* oklch */ color: oklch(59.3% 0.182 320.0);
Tailwind
colors: {
  custom: {
    50: '#c787d3',
    500: '#ac52c0',
    950: '#000000',
  },
}
SCSS
$custom: #ac52c0;
$custom-light: #c787d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52c0",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 289.091,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.18203,
    "h": 320
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#AC52C0
secondary
#A8CE9F
accent
#D6526A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC52C0

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

Preview Lab → · Contrast checker → · Palette generator →

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