#AC5FA7#AC5FA7

#AC5FA7 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 59.9% C 0.137 H 329.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AC5FA7
RGBrgb(172, 95, 167)
HSLhsl(304, 32%, 52%)
HSVhsv(304, 45%, 67%)
CMYKcmyk(0%, 44.8%, 2.9%, 32.5%)
CIE-LABlab(51.55, 41.85, -25.43)
CIE-LCHlch(51.55, 48.97, 328.71°)
OKLaboklab(59.94% 0.1177 -0.0693)
OKLCHoklch(59.94% 0.137 329.5)
XYZxyz(28.0802, 19.7466, 38.8841)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FA7 #5FAC64
analogous
#8A5FAC #AC5FA7 #AC5F81
triadic
#AC5FA7 #A7AC5F #5FA7AC
tetradic
#AC5FA7 #AC8A5F #5FAC64 #5F81AC
square
#AC5FA7 #AC8A5F #5FAC64 #5F81AC
split-complementary
#AC5FA7 #81AC5F #5FAC8A
monochromatic
#5F315C #884683 #AC5FA7 #C187BD #D6B0D3

Accessibility & contrast

On white

4.24
#AC5FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AC5FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FA7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FA7#FFFFFF#000000##000000
##AC5FA71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74AA
Deuteranopia (green-blind)
#707FA5
Tritanopia (blue-blind)
#B1657B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac5fa7;
/* rgb */ color: rgb(172, 95, 167);
/* oklch */ color: oklch(59.9% 0.137 329.5);
Tailwind
colors: {
  custom: {
    50: '#c68fc1',
    500: '#ac5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fa7;
$custom-light: #c68fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fa7",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 303.896,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.13656,
    "h": 329.5
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#AC5FA7
secondary
#A3C4A5
accent
#C86760
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AC5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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