#AC319B#AC319B

#AC319B is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.7% C 0.196 H 334.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AC319B
RGBrgb(172, 49, 155)
HSLhsl(308, 56%, 43%)
HSVhsv(308, 72%, 67%)
CMYKcmyk(0%, 71.5%, 9.9%, 32.5%)
CIE-LABlab(43.27, 60.70, -31.22)
CIE-LCHlch(43.27, 68.26, 332.78°)
OKLaboklab(53.67% 0.1762 -0.0854)
OKLCHoklch(53.67% 0.196 334.1)
XYZxyz(24.0282, 13.3359, 32.3126)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC319B #31AC42
analogous
#7F31AC #AC319B #AC315D
triadic
#AC319B #9BAC31 #319BAC
tetradic
#AC319B #AC7F31 #31AC42 #315DAC
square
#AC319B #AC7F31 #31AC42 #315DAC
split-complementary
#AC319B #5DAC31 #31AC7F
monochromatic
#4D1645 #7C2370 #AC319B #CC4EBB #DA7DCD

Accessibility & contrast

On white

5.73
#AC319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AC319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC319B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC319B#FFFFFF#000000##FFFFFF
##AC319B1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#5A6D98
Tritanopia (blue-blind)
#B43C62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac319b;
/* rgb */ color: rgb(172, 49, 155);
/* oklch */ color: oklch(53.7% 0.196 334.1);
Tailwind
colors: {
  custom: {
    50: '#c875b9',
    500: '#ac319b',
    950: '#000000',
  },
}
SCSS
$custom: #ac319b;
$custom-light: #c875b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac319b",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 308.293,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.19577,
    "h": 334.1
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#AC319B
secondary
#76C381
accent
#DF5E49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC319B

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

Preview Lab → · Contrast checker → · Palette generator →

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