#AC34C6#AC34C6

#AC34C6 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.227 H 319.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AC34C6
RGBrgb(172, 52, 198)
HSLhsl(289, 58%, 49%)
HSVhsv(289, 74%, 78%)
CMYKcmyk(13.1%, 73.7%, 0%, 22.4%)
CIE-LABlab(46.05, 66.94, -52.18)
CIE-LCHlch(46.05, 84.87, 322.07°)
OKLaboklab(56.44% 0.173 -0.1463)
OKLCHoklch(56.44% 0.227 319.8)
XYZxyz(28.4330, 15.3053, 54.8717)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34C6 #4EC634
analogous
#6334C6 #AC34C6 #C63497
triadic
#AC34C6 #C6AC34 #34C6AC
tetradic
#AC34C6 #C66334 #4EC634 #3497C6
square
#AC34C6 #C66334 #4EC634 #3497C6
split-complementary
#AC34C6 #97C634 #34C663
monochromatic
#581B65 #822796 #AC34C6 #C162D6 #D492E2

Accessibility & contrast

On white

5.17
#AC34C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AC34C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34C6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34C6#FFFFFF#000000##FFFFFF
##AC34C61.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#4171C3
Tritanopia (blue-blind)
#AC517B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac34c6;
/* rgb */ color: rgb(172, 52, 198);
/* oklch */ color: oklch(56.4% 0.227 319.8);
Tailwind
colors: {
  custom: {
    50: '#c978d8',
    500: '#ac34c6',
    950: '#000000',
  },
}
SCSS
$custom: #ac34c6;
$custom-light: #c978d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34c6",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 289.315,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.22655,
    "h": 319.8
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#AC34C6
secondary
#95CD89
accent
#E24662
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC34C6

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

Preview Lab → · Contrast checker → · Palette generator →

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