#AC319F#AC319F

#AC319F is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.199 H 332.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AC319F
RGBrgb(172, 49, 159)
HSLhsl(306, 56%, 43%)
HSVhsv(306, 72%, 67%)
CMYKcmyk(0%, 71.5%, 7.6%, 32.5%)
CIE-LABlab(43.47, 61.32, -33.31)
CIE-LCHlch(43.47, 69.78, 331.49°)
OKLaboklab(53.88% 0.1765 -0.0914)
OKLCHoklch(53.88% 0.199 332.6)
XYZxyz(24.3697, 13.4725, 34.1111)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC319F #31AC3E
analogous
#7B31AC #AC319F #AC3162
triadic
#AC319F #9FAC31 #319FAC
tetradic
#AC319F #AC7B31 #31AC3E #3162AC
square
#AC319F #AC7B31 #31AC3E #3162AC
split-complementary
#AC319F #62AC31 #31AC7B
monochromatic
#4D1647 #7C2373 #AC319F #CC4EBF #DA7DD0

Accessibility & contrast

On white

5.68
#AC319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC319F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC319F#FFFFFF#000000##FFFFFF
##AC319F1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac319f;
/* rgb */ color: rgb(172, 49, 159);
/* oklch */ color: oklch(53.9% 0.199 332.6);
Tailwind
colors: {
  custom: {
    50: '#c875bc',
    500: '#ac319f',
    950: '#000000',
  },
}
SCSS
$custom: #ac319f;
$custom-light: #c875bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac319f",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 306.341,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.19873,
    "h": 332.6
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#AC319F
secondary
#76C37E
accent
#DF5949
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC319F

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

Preview Lab → · Contrast checker → · Palette generator →

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