#AC34C2#AC34C2

#AC34C2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.223 H 320.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AC34C2
RGBrgb(172, 52, 194)
HSLhsl(291, 58%, 48%)
HSVhsv(291, 73%, 76%)
CMYKcmyk(11.3%, 73.2%, 0%, 23.9%)
CIE-LABlab(45.80, 66.21, -50.25)
CIE-LCHlch(45.80, 83.12, 322.81°)
OKLaboklab(56.19% 0.1733 -0.1407)
OKLCHoklch(56.19% 0.223 320.9)
XYZxyz(27.9777, 15.1232, 52.4739)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34C2 #4AC234
analogous
#6534C2 #AC34C2 #C23491
triadic
#AC34C2 #C2AC34 #34C2AC
tetradic
#AC34C2 #C26534 #4AC234 #3491C2
square
#AC34C2 #C26534 #4AC234 #3491C2
split-complementary
#AC34C2 #91C234 #34C265
monochromatic
#561A61 #812792 #AC34C2 #C25FD4 #D48FE1

Accessibility & contrast

On white

5.22
#AC34C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AC34C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34C2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34C2#FFFFFF#000000##FFFFFF
##AC34C21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#AD5079
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac34c2;
/* rgb */ color: rgb(172, 52, 194);
/* oklch */ color: oklch(56.2% 0.223 320.9);
Tailwind
colors: {
  custom: {
    50: '#c977d5',
    500: '#ac34c2',
    950: '#000000',
  },
}
SCSS
$custom: #ac34c2;
$custom-light: #c977d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34c2",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 290.704,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.22321,
    "h": 320.9
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#AC34C2
secondary
#91CC86
accent
#E1475F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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