#AC52B2#AC52B2

#AC52B2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.6% C 0.169 H 325.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AC52B2
RGBrgb(172, 82, 178)
HSLhsl(296, 38%, 51%)
HSVhsv(296, 54%, 70%)
CMYKcmyk(3.4%, 53.9%, 0%, 30.2%)
CIE-LABlab(49.52, 50.53, -35.02)
CIE-LCHlch(49.52, 61.48, 325.28°)
OKLaboklab(58.6% 0.1382 -0.0966)
OKLCHoklch(58.6% 0.169 325)
XYZxyz(28.0658, 18.0211, 44.1110)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52B2 #58B252
analogous
#7C52B2 #AC52B2 #B25288
triadic
#AC52B2 #B2AC52 #52B2AC
tetradic
#AC52B2 #B27C52 #58B252 #5288B2
square
#AC52B2 #B27C52 #58B252 #5288B2
split-complementary
#AC52B2 #88B252 #52B27C
monochromatic
#5C2A5F #853D8A #AC52B2 #C07CC5 #D5A7D8

Accessibility & contrast

On white

4.56
#AC52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AC52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52B2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52B2#FFFFFF#000000##000000
##AC52B21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#627AAF
Tritanopia (blue-blind)
#B05E7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac52b2;
/* rgb */ color: rgb(172, 82, 178);
/* oklch */ color: oklch(58.6% 0.169 325.0);
Tailwind
colors: {
  custom: {
    50: '#c787c9',
    500: '#ac52b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac52b2;
$custom-light: #c787c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52b2",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 296.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58599,
    "c": 0.16862,
    "h": 325
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#AC52B2
secondary
#9DC59B
accent
#CE5961
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AC52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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