#AC52BC#AC52BC

#AC52BC is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.1% C 0.178 H 321.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AC52BC
RGBrgb(172, 82, 188)
HSLhsl(291, 44%, 53%)
HSVhsv(291, 56%, 74%)
CMYKcmyk(8.5%, 56.4%, 0%, 26.3%)
CIE-LABlab(50.02, 52.44, -40.05)
CIE-LCHlch(50.02, 65.98, 322.63°)
OKLaboklab(59.13% 0.1392 -0.1112)
OKLCHoklch(59.13% 0.178 321.4)
XYZxyz(29.1066, 18.4374, 49.5928)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52BC #62BC52
analogous
#7752BC #AC52BC #BC5297
triadic
#AC52BC #BCAC52 #52BCAC
tetradic
#AC52BC #BC7752 #62BC52 #5297BC
square
#AC52BC #BC7752 #62BC52 #5297BC
split-complementary
#AC52BC #97BC52 #52BC77
monochromatic
#61296A #893A97 #AC52BC #C17ECD #D6AADE

Accessibility & contrast

On white

4.48
#AC52BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AC52BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52BC#FFFFFF#000000##000000
##AC52BC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#AE617F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac52bc;
/* rgb */ color: rgb(172, 82, 188);
/* oklch */ color: oklch(59.1% 0.178 321.4);
Tailwind
colors: {
  custom: {
    50: '#c787d0',
    500: '#ac52bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac52bc;
$custom-light: #c787d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52bc",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 290.943,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.17814,
    "h": 321.4
  },
  "luminance": 0.18436
}

Semantic roles & 50–950 ramp

primary
#AC52BC
secondary
#A5CC9E
accent
#D45467
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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