#AC52BD#AC52BD

#AC52BD is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.2% C 0.179 H 321.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AC52BD
RGBrgb(172, 82, 189)
HSLhsl(290, 45%, 53%)
HSVhsv(290, 57%, 74%)
CMYKcmyk(9%, 56.6%, 0%, 25.9%)
CIE-LABlab(50.07, 52.63, -40.55)
CIE-LCHlch(50.07, 66.44, 322.39°)
OKLaboklab(59.18% 0.1393 -0.1126)
OKLCHoklch(59.18% 0.179 321)
XYZxyz(29.2148, 18.4807, 50.1625)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52BD #63BD52
analogous
#7652BD #AC52BD #BD5299
triadic
#AC52BD #BDAC52 #52BDAC
tetradic
#AC52BD #BD7652 #63BD52 #5299BD
square
#AC52BD #BD7652 #63BD52 #5299BD
split-complementary
#AC52BD #99BD52 #52BD76
monochromatic
#61296C #893A98 #AC52BD #C17ECE #D7ABDF

Accessibility & contrast

On white

4.47
#AC52BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AC52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52BD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52BD#FFFFFF#000000##000000
##AC52BD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C0
Deuteranopia (green-blind)
#5C7BBA
Tritanopia (blue-blind)
#AD6280
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac52bd;
/* rgb */ color: rgb(172, 82, 189);
/* oklch */ color: oklch(59.2% 0.179 321.0);
Tailwind
colors: {
  custom: {
    50: '#c787d1',
    500: '#ac52bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac52bd;
$custom-light: #c787d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52bd",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 290.467,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.17911,
    "h": 321
  },
  "luminance": 0.18479
}

Semantic roles & 50–950 ramp

primary
#AC52BD
secondary
#A6CC9E
accent
#D45368
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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