#AC52BB#AC52BB

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

Color values

HEX#AC52BB
RGBrgb(172, 82, 187)
HSLhsl(291, 44%, 53%)
HSVhsv(291, 56%, 73%)
CMYKcmyk(8%, 56.1%, 0%, 26.7%)
CIE-LABlab(49.97, 52.25, -39.55)
CIE-LCHlch(49.97, 65.53, 322.87°)
OKLaboklab(59.08% 0.1391 -0.1097)
OKLCHoklch(59.08% 0.177 321.7)
XYZxyz(28.9992, 18.3945, 49.0270)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52BB #61BB52
analogous
#7852BB #AC52BB #BB5295
triadic
#AC52BB #BBAC52 #52BBAC
tetradic
#AC52BB #BB7852 #61BB52 #5295BB
square
#AC52BB #BB7852 #61BB52 #5295BB
split-complementary
#AC52BB #95BB52 #52BB78
monochromatic
#602969 #883B95 #AC52BB #C17ECC #D6AADE

Accessibility & contrast

On white

4.49
#AC52BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AC52BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52BB#FFFFFF#000000##000000
##AC52BB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac52bb;
/* rgb */ color: rgb(172, 82, 187);
/* oklch */ color: oklch(59.1% 0.177 321.7);
Tailwind
colors: {
  custom: {
    50: '#c787d0',
    500: '#ac52bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac52bb;
$custom-light: #c787d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52bb",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 291.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.17719,
    "h": 321.7
  },
  "luminance": 0.18393
}

Semantic roles & 50–950 ramp

primary
#AC52BB
secondary
#A4CB9E
accent
#D35467
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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