#AC5FA3#AC5FA3

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

Color values

HEX#AC5FA3
RGBrgb(172, 95, 163)
HSLhsl(307, 32%, 52%)
HSVhsv(307, 45%, 67%)
CMYKcmyk(0%, 44.8%, 5.2%, 32.5%)
CIE-LABlab(51.38, 41.12, -23.35)
CIE-LCHlch(51.38, 47.29, 330.41°)
OKLaboklab(59.76% 0.1168 -0.0634)
OKLCHoklch(59.76% 0.133 331.5)
XYZxyz(27.7161, 19.6010, 36.9667)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FA3 #5FAC68
analogous
#8F5FAC #AC5FA3 #AC5F7D
triadic
#AC5FA3 #A3AC5F #5FA3AC
tetradic
#AC5FA3 #AC8F5F #5FAC68 #5F7DAC
square
#AC5FA3 #AC8F5F #5FAC68 #5F7DAC
split-complementary
#AC5FA3 #7DAC5F #5FAC8F
monochromatic
#5F315A #884680 #AC5FA3 #C187BA #D6B0D1

Accessibility & contrast

On white

4.27
#AC5FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AC5FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FA3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FA3#FFFFFF#000000##000000
##AC5FA31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A5
Deuteranopia (green-blind)
#717EA1
Tritanopia (blue-blind)
#B26479
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac5fa3;
/* rgb */ color: rgb(172, 95, 163);
/* oklch */ color: oklch(59.8% 0.133 331.5);
Tailwind
colors: {
  custom: {
    50: '#c68fbe',
    500: '#ac5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fa3;
$custom-light: #c68fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fa3",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 307.013,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.13288,
    "h": 331.5
  },
  "luminance": 0.19599
}

Semantic roles & 50–950 ramp

primary
#AC5FA3
secondary
#A3C4A7
accent
#C86C60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AC5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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