#AC34C4#AC34C4

#AC34C4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.225 H 320.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AC34C4
RGBrgb(172, 52, 196)
HSLhsl(290, 58%, 49%)
HSVhsv(290, 73%, 77%)
CMYKcmyk(12.2%, 73.5%, 0%, 23.1%)
CIE-LABlab(45.93, 66.58, -51.21)
CIE-LCHlch(45.93, 84.00, 322.43°)
OKLaboklab(56.32% 0.1731 -0.1435)
OKLCHoklch(56.32% 0.225 320.3)
XYZxyz(28.2038, 15.2136, 53.6648)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34C4 #4CC434
analogous
#6434C4 #AC34C4 #C43494
triadic
#AC34C4 #C4AC34 #34C4AC
tetradic
#AC34C4 #C46434 #4CC434 #3494C4
square
#AC34C4 #C46434 #4CC434 #3494C4
split-complementary
#AC34C4 #94C434 #34C464
monochromatic
#571A63 #822794 #AC34C4 #C160D5 #D491E2

Accessibility & contrast

On white

5.19
#AC34C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AC34C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34C4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34C4#FFFFFF#000000##FFFFFF
##AC34C41.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#4271C1
Tritanopia (blue-blind)
#AD507A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac34c4;
/* rgb */ color: rgb(172, 52, 196);
/* oklch */ color: oklch(56.3% 0.225 320.3);
Tailwind
colors: {
  custom: {
    50: '#c978d6',
    500: '#ac34c4',
    950: '#000000',
  },
}
SCSS
$custom: #ac34c4;
$custom-light: #c978d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34c4",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 290,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.22488,
    "h": 320.3
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#AC34C4
secondary
#93CC87
accent
#E14760
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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