#AC34A5#AC34A5

#AC34A5 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.5% C 0.200 H 330.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AC34A5
RGBrgb(172, 52, 165)
HSLhsl(304, 54%, 44%)
HSVhsv(304, 70%, 67%)
CMYKcmyk(0%, 69.8%, 4.1%, 32.5%)
CIE-LABlab(44.15, 61.21, -35.80)
CIE-LCHlch(44.15, 70.92, 329.68°)
OKLaboklab(54.48% 0.1737 -0.0986)
OKLCHoklch(54.48% 0.2 330.4)
XYZxyz(25.0327, 13.9452, 36.9633)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34A5 #34AC3B
analogous
#7734AC #AC34A5 #AC3469
triadic
#AC34A5 #A5AC34 #34A5AC
tetradic
#AC34A5 #AC7734 #34AC3B #3469AC
square
#AC34A5 #AC7734 #34AC3B #3469AC
split-complementary
#AC34A5 #69AC34 #34AC77
monochromatic
#4E184B #7D2678 #AC34A5 #CB52C4 #D981D4

Accessibility & contrast

On white

5.54
#AC34A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AC34A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34A5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34A5#FFFFFF#000000##FFFFFF
##AC34A51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#576EA2
Tritanopia (blue-blind)
#B34269
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac34a5;
/* rgb */ color: rgb(172, 52, 165);
/* oklch */ color: oklch(54.5% 0.200 330.4);
Tailwind
colors: {
  custom: {
    50: '#c876c0',
    500: '#ac34a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac34a5;
$custom-light: #c876c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34a5",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 303.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.19977,
    "h": 330.4
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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