#AC34AC#AC34AC

#AC34AC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.205 H 327.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AC34AC
RGBrgb(172, 52, 172)
HSLhsl(300, 54%, 44%)
HSVhsv(300, 70%, 67%)
CMYKcmyk(0%, 69.8%, 0%, 32.5%)
CIE-LABlab(44.53, 62.37, -39.37)
CIE-LCHlch(44.53, 73.76, 327.74°)
OKLaboklab(54.87% 0.1739 -0.109)
OKLCHoklch(54.87% 0.205 327.9)
XYZxyz(25.6873, 14.2070, 40.4110)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34AC #34AC34
analogous
#7034AC #AC34AC #AC3470
triadic
#AC34AC #ACAC34 #34ACAC
tetradic
#AC34AC #AC7034 #34AC34 #3470AC
square
#AC34AC #AC7034 #34AC34 #3470AC
split-complementary
#AC34AC #70AC34 #34AC70
monochromatic
#4E184E #7D267D #AC34AC #CB52CB #D981D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC34AC#FFFFFF#000000##FFFFFF
##AC34AC1.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)
#205FAF
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#B1466C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac34ac;
/* rgb */ color: rgb(172, 52, 172);
/* oklch */ color: oklch(54.9% 0.205 327.9);
Tailwind
colors: {
  custom: {
    50: '#c877c5',
    500: '#ac34ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac34ac;
$custom-light: #c877c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34ac",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.20526,
    "h": 327.9
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#AC34AC
secondary
#79C279
accent
#DD4B4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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