#AC5AB2#AC5AB2

#AC5AB2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.7% C 0.156 H 324.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AC5AB2
RGBrgb(172, 90, 178)
HSLhsl(296, 36%, 53%)
HSVhsv(296, 49%, 70%)
CMYKcmyk(3.4%, 49.4%, 0%, 30.2%)
CIE-LABlab(51.03, 46.52, -32.65)
CIE-LCHlch(51.03, 56.83, 324.94°)
OKLaboklab(59.72% 0.1271 -0.0899)
OKLCHoklch(59.72% 0.156 324.7)
XYZxyz(28.7046, 19.2987, 44.3239)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AB2 #60B25A
analogous
#805AB2 #AC5AB2 #B25A8C
triadic
#AC5AB2 #B2AC5A #5AB2AC
tetradic
#AC5AB2 #B2805A #60B25A #5A8CB2
square
#AC5AB2 #B2805A #60B25A #5A8CB2
split-complementary
#AC5AB2 #8CB25A #5AB280
monochromatic
#602E63 #88428D #AC5AB2 #C184C5 #D6ADD9

Accessibility & contrast

On white

4.32
#AC5AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AC5AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AB2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AB2#FFFFFF#000000##000000
##AC5AB21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#AF647E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac5ab2;
/* rgb */ color: rgb(172, 90, 178);
/* oklch */ color: oklch(59.7% 0.156 324.7);
Tailwind
colors: {
  custom: {
    50: '#c78cc9',
    500: '#ac5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ab2;
$custom-light: #c78cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ab2",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 295.909,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59715,
    "c": 0.15562,
    "h": 324.7
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#AC5AB2
secondary
#A3C7A1
accent
#CC5B63
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AC5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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