#AC34A7#AC34A7

#AC34A7 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.201 H 329.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AC34A7
RGBrgb(172, 52, 167)
HSLhsl(303, 54%, 44%)
HSVhsv(303, 70%, 67%)
CMYKcmyk(0%, 69.8%, 2.9%, 32.5%)
CIE-LABlab(44.26, 61.54, -36.83)
CIE-LCHlch(44.26, 71.72, 329.10°)
OKLaboklab(54.59% 0.1738 -0.1016)
OKLCHoklch(54.59% 0.201 329.7)
XYZxyz(25.2161, 14.0185, 37.9295)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34A7 #34AC39
analogous
#7534AC #AC34A7 #AC346B
triadic
#AC34A7 #A7AC34 #34A7AC
tetradic
#AC34A7 #AC7534 #34AC39 #346BAC
square
#AC34A7 #AC7534 #34AC39 #346BAC
split-complementary
#AC34A7 #6BAC34 #34AC75
monochromatic
#4E184C #7D2679 #AC34A7 #CB52C6 #D981D5

Accessibility & contrast

On white

5.52
#AC34A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AC34A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34A7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34A7#FFFFFF#000000##FFFFFF
##AC34A71.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#566EA4
Tritanopia (blue-blind)
#B2436A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac34a7;
/* rgb */ color: rgb(172, 52, 167);
/* oklch */ color: oklch(54.6% 0.201 329.7);
Tailwind
colors: {
  custom: {
    50: '#c876c1',
    500: '#ac34a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac34a7;
$custom-light: #c876c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34a7",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 302.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.20132,
    "h": 329.7
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#AC34A7
secondary
#79C27D
accent
#DD514B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC34A7

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

Preview Lab → · Contrast checker → · Palette generator →

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