#AC52BF#AC52BF

#AC52BF is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.3% C 0.181 H 320.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AC52BF
RGBrgb(172, 82, 191)
HSLhsl(290, 46%, 54%)
HSVhsv(290, 57%, 75%)
CMYKcmyk(9.9%, 57.1%, 0%, 25.1%)
CIE-LABlab(50.18, 53.03, -41.54)
CIE-LCHlch(50.18, 67.36, 321.93°)
OKLaboklab(59.29% 0.1394 -0.1155)
OKLCHoklch(59.29% 0.181 320.4)
XYZxyz(29.4334, 18.5681, 51.3137)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52BF #65BF52
analogous
#7552BF #AC52BF #BF529B
triadic
#AC52BF #BFAC52 #52BFAC
tetradic
#AC52BF #BF7552 #65BF52 #529BBF
square
#AC52BF #BF7552 #65BF52 #529BBF
split-complementary
#AC52BF #9BBF52 #52BF75
monochromatic
#62296E #8A399B #AC52BF #C17FD0 #D7ABE0

Accessibility & contrast

On white

4.46
#AC52BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AC52BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52BF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52BF#FFFFFF#000000##000000
##AC52BF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#5B7BBC
Tritanopia (blue-blind)
#AD6281
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac52bf;
/* rgb */ color: rgb(172, 82, 191);
/* oklch */ color: oklch(59.3% 0.181 320.4);
Tailwind
colors: {
  custom: {
    50: '#c787d3',
    500: '#ac52bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac52bf;
$custom-light: #c787d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52bf",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 289.541,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59293,
    "c": 0.18106,
    "h": 320.4
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#AC52BF
secondary
#A7CE9F
accent
#D65269
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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