#AC5FA2#AC5FA2

#AC5FA2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.7% C 0.132 H 332.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AC5FA2
RGBrgb(172, 95, 162)
HSLhsl(308, 32%, 52%)
HSVhsv(308, 45%, 67%)
CMYKcmyk(0%, 44.8%, 5.8%, 32.5%)
CIE-LABlab(51.34, 40.94, -22.82)
CIE-LCHlch(51.34, 46.87, 330.86°)
OKLaboklab(59.71% 0.1166 -0.0619)
OKLCHoklch(59.71% 0.132 332)
XYZxyz(27.6268, 19.5653, 36.4967)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FA2 #5FAC69
analogous
#8F5FAC #AC5FA2 #AC5F7C
triadic
#AC5FA2 #A2AC5F #5FA2AC
tetradic
#AC5FA2 #AC8F5F #5FAC69 #5F7CAC
square
#AC5FA2 #AC8F5F #5FAC69 #5F7CAC
split-complementary
#AC5FA2 #7CAC5F #5FAC8F
monochromatic
#5F3159 #88467F #AC5FA2 #C187B9 #D6B0D1

Accessibility & contrast

On white

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

On black

4.91
#AC5FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FA2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FA2#FFFFFF#000000##000000
##AC5FA21.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#727EA0
Tritanopia (blue-blind)
#B26479
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac5fa2;
/* rgb */ color: rgb(172, 95, 162);
/* oklch */ color: oklch(59.7% 0.132 332.0);
Tailwind
colors: {
  custom: {
    50: '#c68fbd',
    500: '#ac5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fa2;
$custom-light: #c68fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fa2",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 307.792,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.13198,
    "h": 332
  },
  "luminance": 0.19564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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