#AC34C5#AC34C5

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

Color values

HEX#AC34C5
RGBrgb(172, 52, 197)
HSLhsl(290, 58%, 49%)
HSVhsv(290, 74%, 77%)
CMYKcmyk(12.7%, 73.6%, 0%, 22.7%)
CIE-LABlab(45.99, 66.76, -51.69)
CIE-LCHlch(45.99, 84.44, 322.25°)
OKLaboklab(56.38% 0.173 -0.1449)
OKLCHoklch(56.38% 0.226 320.1)
XYZxyz(28.3180, 15.2593, 54.2662)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34C5 #4DC534
analogous
#6434C5 #AC34C5 #C53496
triadic
#AC34C5 #C5AC34 #34C5AC
tetradic
#AC34C5 #C56434 #4DC534 #3496C5
square
#AC34C5 #C56434 #4DC534 #3496C5
split-complementary
#AC34C5 #96C534 #34C564
monochromatic
#571A64 #822795 #AC34C5 #C161D5 #D491E2

Accessibility & contrast

On white

5.18
#AC34C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AC34C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34C5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34C5#FFFFFF#000000##FFFFFF
##AC34C51.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#4271C2
Tritanopia (blue-blind)
#AD517A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac34c5;
/* rgb */ color: rgb(172, 52, 197);
/* oklch */ color: oklch(56.4% 0.226 320.1);
Tailwind
colors: {
  custom: {
    50: '#c978d7',
    500: '#ac34c5',
    950: '#000000',
  },
}
SCSS
$custom: #ac34c5;
$custom-light: #c978d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34c5",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 289.655,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.22571,
    "h": 320.1
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#AC34C5
secondary
#94CD88
accent
#E14661
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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