#AC5ABE#AC5ABE

#AC5ABE is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.3% C 0.168 H 320.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AC5ABE
RGBrgb(172, 90, 190)
HSLhsl(289, 43%, 55%)
HSVhsv(289, 53%, 75%)
CMYKcmyk(9.5%, 52.6%, 0%, 25.5%)
CIE-LABlab(51.61, 48.86, -38.70)
CIE-LCHlch(51.61, 62.33, 321.62°)
OKLaboklab(60.33% 0.1286 -0.1073)
OKLCHoklch(60.33% 0.168 320.2)
XYZxyz(29.9625, 19.8019, 50.9491)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5ABE #6CBE5A
analogous
#7A5ABE #AC5ABE #BE5A9E
triadic
#AC5ABE #BEAC5A #5ABEAC
tetradic
#AC5ABE #BE7A5A #6CBE5A #5A9EBE
square
#AC5ABE #BE7A5A #6CBE5A #5A9EBE
split-complementary
#AC5ABE #9EBE5A #5ABE7A
monochromatic
#652D71 #8C3E9D #AC5ABE #C286CF #D8B2E1

Accessibility & contrast

On white

4.23
#AC5ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AC5ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5ABE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5ABE#FFFFFF#000000##000000
##AC5ABE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#AD6884
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac5abe;
/* rgb */ color: rgb(172, 90, 190);
/* oklch */ color: oklch(60.3% 0.168 320.2);
Tailwind
colors: {
  custom: {
    50: '#c78cd2',
    500: '#ac5abe',
    950: '#000000',
  },
}
SCSS
$custom: #ac5abe;
$custom-light: #c78cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5abe",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 289.2,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.16752,
    "h": 320.2
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#AC5ABE
secondary
#ACCFA5
accent
#D3556B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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