#AC319E#AC319E

#AC319E is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.8% C 0.198 H 333.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC319E
RGBrgb(172, 49, 158)
HSLhsl(307, 56%, 43%)
HSVhsv(307, 72%, 67%)
CMYKcmyk(0%, 71.5%, 8.1%, 32.5%)
CIE-LABlab(43.42, 61.17, -32.79)
CIE-LCHlch(43.42, 69.40, 331.81°)
OKLaboklab(53.83% 0.1764 -0.0899)
OKLCHoklch(53.83% 0.198 333)
XYZxyz(24.2832, 13.4379, 33.6560)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC319E #31AC3F
analogous
#7C31AC #AC319E #AC3160
triadic
#AC319E #9EAC31 #319EAC
tetradic
#AC319E #AC7C31 #31AC3F #3160AC
square
#AC319E #AC7C31 #31AC3F #3160AC
split-complementary
#AC319E #60AC31 #31AC7C
monochromatic
#4D1646 #7C2372 #AC319E #CC4EBE #DA7DD0

Accessibility & contrast

On white

5.70
#AC319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AC319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC319E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC319E#FFFFFF#000000##FFFFFF
##AC319E1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#B43D64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac319e;
/* rgb */ color: rgb(172, 49, 158);
/* oklch */ color: oklch(53.8% 0.198 333.0);
Tailwind
colors: {
  custom: {
    50: '#c875bb',
    500: '#ac319e',
    950: '#000000',
  },
}
SCSS
$custom: #ac319e;
$custom-light: #c875bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac319e",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 306.829,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.19798,
    "h": 333
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#AC319E
secondary
#76C37F
accent
#DF5A49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC319E

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

Preview Lab → · Contrast checker → · Palette generator →

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