#AC5FA4#AC5FA4

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

Color values

HEX#AC5FA4
RGBrgb(172, 95, 164)
HSLhsl(306, 32%, 52%)
HSVhsv(306, 45%, 67%)
CMYKcmyk(0%, 44.8%, 4.7%, 32.5%)
CIE-LABlab(51.42, 41.30, -23.87)
CIE-LCHlch(51.42, 47.70, 329.98°)
OKLaboklab(59.8% 0.117 -0.0649)
OKLCHoklch(59.8% 0.134 331)
XYZxyz(27.8060, 19.6369, 37.4405)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FA4 #5FAC67
analogous
#8E5FAC #AC5FA4 #AC5F7D
triadic
#AC5FA4 #A4AC5F #5FA4AC
tetradic
#AC5FA4 #AC8E5F #5FAC67 #5F7DAC
square
#AC5FA4 #AC8E5F #5FAC67 #5F7DAC
split-complementary
#AC5FA4 #7DAC5F #5FAC8E
monochromatic
#5F315A #884681 #AC5FA4 #C187BB #D6B0D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC5FA4#FFFFFF#000000##000000
##AC5FA41.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)
#5C74A6
Deuteranopia (green-blind)
#717EA2
Tritanopia (blue-blind)
#B2657A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac5fa4;
/* rgb */ color: rgb(172, 95, 164);
/* oklch */ color: oklch(59.8% 0.134 331.0);
Tailwind
colors: {
  custom: {
    50: '#c68fbf',
    500: '#ac5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fa4;
$custom-light: #c68fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fa4",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 306.234,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.13379,
    "h": 331
  },
  "luminance": 0.19635
}

Semantic roles & 50–950 ramp

primary
#AC5FA4
secondary
#A3C4A6
accent
#C86B60
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AC5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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