#AC34A2#AC34A2

#AC34A2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.3% C 0.197 H 331.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC34A2
RGBrgb(172, 52, 162)
HSLhsl(305, 54%, 44%)
HSVhsv(305, 70%, 67%)
CMYKcmyk(0%, 69.8%, 5.8%, 32.5%)
CIE-LABlab(44.00, 60.73, -34.26)
CIE-LCHlch(44.00, 69.73, 330.57°)
OKLaboklab(54.32% 0.1735 -0.0942)
OKLCHoklch(54.32% 0.197 331.5)
XYZxyz(24.7628, 13.8372, 35.5420)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34A2 #34AC3E
analogous
#7A34AC #AC34A2 #AC3466
triadic
#AC34A2 #A2AC34 #34A2AC
tetradic
#AC34A2 #AC7A34 #34AC3E #3466AC
square
#AC34A2 #AC7A34 #34AC3E #3466AC
split-complementary
#AC34A2 #66AC34 #34AC7A
monochromatic
#4E1849 #7D2676 #AC34A2 #CB52C1 #D981D2

Accessibility & contrast

On white

5.57
#AC34A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AC34A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34A2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34A2#FFFFFF#000000##FFFFFF
##AC34A21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#586E9F
Tritanopia (blue-blind)
#B34167
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac34a2;
/* rgb */ color: rgb(172, 52, 162);
/* oklch */ color: oklch(54.3% 0.197 331.5);
Tailwind
colors: {
  custom: {
    50: '#c876be',
    500: '#ac34a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac34a2;
$custom-light: #c876be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34a2",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 305,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.19746,
    "h": 331.5
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#AC34A2
secondary
#79C280
accent
#DD574B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC34A2

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

Preview Lab → · Contrast checker → · Palette generator →

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