#AC5FA0#AC5FA0

#AC5FA0 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.6% C 0.130 H 333.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC5FA0
RGBrgb(172, 95, 160)
HSLhsl(309, 32%, 52%)
HSVhsv(309, 45%, 67%)
CMYKcmyk(0%, 44.8%, 7%, 32.5%)
CIE-LABlab(51.26, 40.58, -21.77)
CIE-LCHlch(51.26, 46.06, 331.79°)
OKLaboklab(59.63% 0.1161 -0.0589)
OKLCHoklch(59.63% 0.13 333.1)
XYZxyz(27.4505, 19.4947, 35.5679)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FA0 #5FAC6B
analogous
#925FAC #AC5FA0 #AC5F79
triadic
#AC5FA0 #A0AC5F #5FA0AC
tetradic
#AC5FA0 #AC925F #5FAC6B #5F79AC
square
#AC5FA0 #AC925F #5FAC6B #5F79AC
split-complementary
#AC5FA0 #79AC5F #5FAC92
monochromatic
#5F3158 #88467D #AC5FA0 #C187B8 #D6B0D0

Accessibility & contrast

On white

4.29
#AC5FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AC5FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FA0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FA0#FFFFFF#000000##000000
##AC5FA01.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E73A2
Deuteranopia (green-blind)
#737E9E
Tritanopia (blue-blind)
#B26378
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac5fa0;
/* rgb */ color: rgb(172, 95, 160);
/* oklch */ color: oklch(59.6% 0.130 333.1);
Tailwind
colors: {
  custom: {
    50: '#c68fbc',
    500: '#ac5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fa0;
$custom-light: #c68fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fa0",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 309.351,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.13019,
    "h": 333.1
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

primary
#AC5FA0
secondary
#A3C4A8
accent
#C87060
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AC5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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