#AC5FAC#AC5FAC

#AC5FAC is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.2% C 0.141 H 327.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AC5FAC
RGBrgb(172, 95, 172)
HSLhsl(300, 32%, 52%)
HSVhsv(300, 45%, 67%)
CMYKcmyk(0%, 44.8%, 0%, 32.5%)
CIE-LABlab(51.76, 42.78, -28.02)
CIE-LCHlch(51.76, 51.14, 326.78°)
OKLaboklab(60.17% 0.1187 -0.0766)
OKLCHoklch(60.17% 0.141 327.2)
XYZxyz(28.5513, 19.9351, 41.3657)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FAC #5FAC5F
analogous
#865FAC #AC5FAC #AC5F86
triadic
#AC5FAC #ACAC5F #5FACAC
tetradic
#AC5FAC #AC865F #5FAC5F #5F86AC
square
#AC5FAC #AC865F #5FAC5F #5F86AC
split-complementary
#AC5FAC #86AC5F #5FAC86
monochromatic
#5F315F #884688 #AC5FAC #C187C1 #D6B0D6

Accessibility & contrast

On white

4.21
#AC5FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AC5FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FAC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FAC#FFFFFF#000000##000000
##AC5FAC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AF
Deuteranopia (green-blind)
#6E7FAA
Tritanopia (blue-blind)
#B0677D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac5fac;
/* rgb */ color: rgb(172, 95, 172);
/* oklch */ color: oklch(60.2% 0.141 327.2);
Tailwind
colors: {
  custom: {
    50: '#c68fc5',
    500: '#ac5fac',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fac;
$custom-light: #c68fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fac",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.14131,
    "h": 327.2
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#AC5FAC
secondary
#A3C4A3
accent
#C86060
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AC5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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