#AC319D#AC319D

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

Color values

HEX#AC319D
RGBrgb(172, 49, 157)
HSLhsl(307, 56%, 43%)
HSVhsv(307, 72%, 67%)
CMYKcmyk(0%, 71.5%, 8.7%, 32.5%)
CIE-LABlab(43.37, 61.01, -32.27)
CIE-LCHlch(43.37, 69.02, 332.13°)
OKLaboklab(53.78% 0.1763 -0.0884)
OKLCHoklch(53.78% 0.197 333.4)
XYZxyz(24.1975, 13.4036, 33.2045)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC319D #31AC40
analogous
#7D31AC #AC319D #AC315F
triadic
#AC319D #9DAC31 #319DAC
tetradic
#AC319D #AC7D31 #31AC40 #315FAC
square
#AC319D #AC7D31 #31AC40 #315FAC
split-complementary
#AC319D #5FAC31 #31AC7D
monochromatic
#4D1646 #7C2372 #AC319D #CC4EBD #DA7DCF

Accessibility & contrast

On white

5.71
#AC319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC319D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC319D#FFFFFF#000000##FFFFFF
##AC319D1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#B43D63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac319d;
/* rgb */ color: rgb(172, 49, 157);
/* oklch */ color: oklch(53.8% 0.197 333.4);
Tailwind
colors: {
  custom: {
    50: '#c875ba',
    500: '#ac319d',
    950: '#000000',
  },
}
SCSS
$custom: #ac319d;
$custom-light: #c875ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac319d",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 307.317,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.19724,
    "h": 333.4
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#AC319D
secondary
#76C37F
accent
#DF5B49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC319D

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

Preview Lab → · Contrast checker → · Palette generator →

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