#AC37A4#AC37A4

#AC37A4 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.195 H 330.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AC37A4
RGBrgb(172, 55, 164)
HSLhsl(304, 52%, 45%)
HSVhsv(304, 68%, 67%)
CMYKcmyk(0%, 68%, 4.7%, 32.5%)
CIE-LABlab(44.50, 59.94, -34.67)
CIE-LCHlch(44.50, 69.24, 329.95°)
OKLaboklab(54.71% 0.1704 -0.0954)
OKLCHoklch(54.71% 0.195 330.8)
XYZxyz(25.0802, 14.1853, 36.5318)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37A4 #37AC3F
analogous
#7A37AC #AC37A4 #AC3769
triadic
#AC37A4 #A4AC37 #37A4AC
tetradic
#AC37A4 #AC7A37 #37AC3F #3769AC
square
#AC37A4 #AC7A37 #37AC3F #3769AC
split-complementary
#AC37A4 #69AC37 #37AC7A
monochromatic
#4F194C #7E2878 #AC37A4 #C957C1 #D885D2

Accessibility & contrast

On white

5.47
#AC37A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AC37A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37A4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37A4#FFFFFF#000000##FFFFFF
##AC37A41.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#B34469
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac37a4;
/* rgb */ color: rgb(172, 55, 164);
/* oklch */ color: oklch(54.7% 0.195 330.8);
Tailwind
colors: {
  custom: {
    50: '#c878bf',
    500: '#ac37a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac37a4;
$custom-light: #c878bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37a4",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 304.103,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.19532,
    "h": 330.8
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#AC37A4
secondary
#7DC282
accent
#DB574D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AC37A4

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

Preview Lab → · Contrast checker → · Palette generator →

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