#AC34A4#AC34A4

#AC34A4 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.199 H 330.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AC34A4
RGBrgb(172, 52, 164)
HSLhsl(304, 54%, 44%)
HSVhsv(304, 70%, 67%)
CMYKcmyk(0%, 69.8%, 4.7%, 32.5%)
CIE-LABlab(44.10, 61.05, -35.29)
CIE-LCHlch(44.10, 70.52, 329.97°)
OKLaboklab(54.42% 0.1737 -0.0972)
OKLCHoklch(54.42% 0.199 330.8)
XYZxyz(24.9420, 13.9089, 36.4858)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34A4 #34AC3C
analogous
#7834AC #AC34A4 #AC3468
triadic
#AC34A4 #A4AC34 #34A4AC
tetradic
#AC34A4 #AC7834 #34AC3C #3468AC
square
#AC34A4 #AC7834 #34AC3C #3468AC
split-complementary
#AC34A4 #68AC34 #34AC78
monochromatic
#4E184A #7D2677 #AC34A4 #CB52C3 #D981D3

Accessibility & contrast

On white

5.55
#AC34A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AC34A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34A4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34A4#FFFFFF#000000##FFFFFF
##AC34A41.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#B34268
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac34a4;
/* rgb */ color: rgb(172, 52, 164);
/* oklch */ color: oklch(54.4% 0.199 330.8);
Tailwind
colors: {
  custom: {
    50: '#c876bf',
    500: '#ac34a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac34a4;
$custom-light: #c876bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34a4",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 304,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.199,
    "h": 330.8
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#AC34A4
secondary
#79C27E
accent
#DD554B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC34A4

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

Preview Lab → · Contrast checker → · Palette generator →

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