#AC52BA#AC52BA

#AC52BA is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.176 H 322.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AC52BA
RGBrgb(172, 82, 186)
HSLhsl(292, 43%, 53%)
HSVhsv(292, 56%, 73%)
CMYKcmyk(7.5%, 55.9%, 0%, 27.1%)
CIE-LABlab(49.92, 52.05, -39.05)
CIE-LCHlch(49.92, 65.07, 323.12°)
OKLaboklab(59.02% 0.139 -0.1083)
OKLCHoklch(59.02% 0.176 322.1)
XYZxyz(28.8925, 18.3518, 48.4652)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52BA #60BA52
analogous
#7852BA #AC52BA #BA5294
triadic
#AC52BA #BAAC52 #52BAAC
tetradic
#AC52BA #BA7852 #60BA52 #5294BA
square
#AC52BA #BA7852 #60BA52 #5294BA
split-complementary
#AC52BA #94BA52 #52BA78
monochromatic
#602A68 #883B94 #AC52BA #C17ECB #D6AADD

Accessibility & contrast

On white

4.50
#AC52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AC52BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52BA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52BA#FFFFFF#000000##000000
##AC52BA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4070BD
Deuteranopia (green-blind)
#5E7AB7
Tritanopia (blue-blind)
#AE617E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac52ba;
/* rgb */ color: rgb(172, 82, 186);
/* oklch */ color: oklch(59.0% 0.176 322.1);
Tailwind
colors: {
  custom: {
    50: '#c787cf',
    500: '#ac52ba',
    950: '#000000',
  },
}
SCSS
$custom: #ac52ba;
$custom-light: #c787cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52ba",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 291.923,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.17622,
    "h": 322.1
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#AC52BA
secondary
#A3CA9D
accent
#D35566
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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