#AC5AB1#AC5AB1

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

Color values

HEX#AC5AB1
RGBrgb(172, 90, 177)
HSLhsl(297, 36%, 52%)
HSVhsv(297, 49%, 69%)
CMYKcmyk(2.8%, 49.2%, 0%, 30.6%)
CIE-LABlab(50.99, 46.33, -32.14)
CIE-LCHlch(50.99, 56.38, 325.25°)
OKLaboklab(59.67% 0.1269 -0.0884)
OKLCHoklch(59.67% 0.155 325.1)
XYZxyz(28.6046, 19.2587, 43.7970)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AB1 #5FB15A
analogous
#815AB1 #AC5AB1 #B15A8A
triadic
#AC5AB1 #B1AC5A #5AB1AC
tetradic
#AC5AB1 #B1815A #5FB15A #5A8AB1
square
#AC5AB1 #B1815A #5FB15A #5A8AB1
split-complementary
#AC5AB1 #8AB15A #5AB181
monochromatic
#5F2E62 #88428C #AC5AB1 #C184C5 #D6ADD8

Accessibility & contrast

On white

4.33
#AC5AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AC5AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AB1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AB1#FFFFFF#000000##000000
##AC5AB11.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B4
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#B0647D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac5ab1;
/* rgb */ color: rgb(172, 90, 177);
/* oklch */ color: oklch(59.7% 0.155 325.1);
Tailwind
colors: {
  custom: {
    50: '#c78cc8',
    500: '#ac5ab1',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ab1;
$custom-light: #c78cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ab1",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 296.552,
    "s": 35.802,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.15465,
    "h": 325.1
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#AC5AB1
secondary
#A3C6A0
accent
#CC5C62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AC5AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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