#AC5ABB#AC5ABB

#AC5ABB is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.2% C 0.165 H 321.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AC5ABB
RGBrgb(172, 90, 187)
HSLhsl(291, 42%, 54%)
HSVhsv(291, 52%, 73%)
CMYKcmyk(8%, 51.9%, 0%, 26.7%)
CIE-LABlab(51.46, 48.26, -37.20)
CIE-LCHlch(51.46, 60.93, 322.38°)
OKLaboklab(60.17% 0.1283 -0.103)
OKLCHoklch(60.17% 0.165 321.2)
XYZxyz(29.6380, 19.6721, 49.2400)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5ABB #69BB5A
analogous
#7C5ABB #AC5ABB #BB5A9A
triadic
#AC5ABB #BBAC5A #5ABBAC
tetradic
#AC5ABB #BB7C5A #69BB5A #5A9ABB
square
#AC5ABB #BB7C5A #69BB5A #5A9ABB
split-complementary
#AC5ABB #9ABB5A #5ABB7C
monochromatic
#642D6D #8B3F99 #AC5ABB #C285CD #D8B1DF

Accessibility & contrast

On white

4.26
#AC5ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AC5ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5ABB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5ABB#FFFFFF#000000##000000
##AC5ABB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#AE6782
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac5abb;
/* rgb */ color: rgb(172, 90, 187);
/* oklch */ color: oklch(60.2% 0.165 321.2);
Tailwind
colors: {
  custom: {
    50: '#c78cd0',
    500: '#ac5abb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5abb;
$custom-light: #c78cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5abb",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 290.722,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.1645,
    "h": 321.2
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

primary
#AC5ABB
secondary
#AACDA4
accent
#D15669
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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