#AC52B0#AC52B0

#AC52B0 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.5% C 0.167 H 325.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AC52B0
RGBrgb(172, 82, 176)
HSLhsl(297, 37%, 51%)
HSVhsv(297, 53%, 69%)
CMYKcmyk(2.3%, 53.4%, 0%, 31%)
CIE-LABlab(49.42, 50.16, -34.00)
CIE-LCHlch(49.42, 60.60, 325.87°)
OKLaboklab(58.5% 0.1379 -0.0937)
OKLCHoklch(58.5% 0.167 325.8)
XYZxyz(27.8664, 17.9414, 43.0611)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52B0 #56B052
analogous
#7D52B0 #AC52B0 #B05285
triadic
#AC52B0 #B0AC52 #52B0AC
tetradic
#AC52B0 #B07D52 #56B052 #5285B0
square
#AC52B0 #B07D52 #56B052 #5285B0
split-complementary
#AC52B0 #85B052 #52B07D
monochromatic
#5B2B5D #843E87 #AC52B0 #C07CC3 #D4A6D6

Accessibility & contrast

On white

4.58
#AC52B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AC52B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52B0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52B0#FFFFFF#000000##000000
##AC52B01.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB3
Deuteranopia (green-blind)
#6379AD
Tritanopia (blue-blind)
#B05D79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac52b0;
/* rgb */ color: rgb(172, 82, 176);
/* oklch */ color: oklch(58.5% 0.167 325.8);
Tailwind
colors: {
  custom: {
    50: '#c787c8',
    500: '#ac52b0',
    950: '#000000',
  },
}
SCSS
$custom: #ac52b0;
$custom-light: #c787c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52b0",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 297.447,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.16675,
    "h": 325.8
  },
  "luminance": 0.1794
}

Semantic roles & 50–950 ramp

primary
#AC52B0
secondary
#9CC49A
accent
#CD5B5F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC52B0

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

Preview Lab → · Contrast checker → · Palette generator →

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