#AC5ABA#AC5ABA

#AC5ABA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.1% C 0.164 H 321.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AC5ABA
RGBrgb(172, 90, 186)
HSLhsl(291, 41%, 54%)
HSVhsv(291, 52%, 73%)
CMYKcmyk(7.5%, 51.6%, 0%, 27.1%)
CIE-LABlab(51.42, 48.07, -36.69)
CIE-LCHlch(51.42, 60.47, 322.64°)
OKLaboklab(60.12% 0.1282 -0.1015)
OKLCHoklch(60.12% 0.164 321.6)
XYZxyz(29.5314, 19.6294, 48.6782)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5ABA #68BA5A
analogous
#7C5ABA #AC5ABA #BA5A98
triadic
#AC5ABA #BAAC5A #5ABAAC
tetradic
#AC5ABA #BA7C5A #68BA5A #5A98BA
square
#AC5ABA #BA7C5A #68BA5A #5A98BA
split-complementary
#AC5ABA #98BA5A #5ABA7C
monochromatic
#632D6C #8B3F97 #AC5ABA #C285CC #D7B0DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC5ABA#FFFFFF#000000##000000
##AC5ABA1.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)
#4B75BD
Deuteranopia (green-blind)
#647EB7
Tritanopia (blue-blind)
#AE6782
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac5aba;
/* rgb */ color: rgb(172, 90, 186);
/* oklch */ color: oklch(60.1% 0.164 321.6);
Tailwind
colors: {
  custom: {
    50: '#c78ccf',
    500: '#ac5aba',
    950: '#000000',
  },
}
SCSS
$custom: #ac5aba;
$custom-light: #c78ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5aba",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 291.25,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.1635,
    "h": 321.6
  },
  "luminance": 0.19628
}

Semantic roles & 50–950 ramp

primary
#AC5ABA
secondary
#A9CCA3
accent
#D15769
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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