#AC34B2#AC34B2

#AC34B2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.210 H 325.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AC34B2
RGBrgb(172, 52, 178)
HSLhsl(297, 55%, 45%)
HSVhsv(297, 71%, 70%)
CMYKcmyk(3.4%, 70.8%, 0%, 30.2%)
CIE-LABlab(44.86, 63.39, -42.38)
CIE-LCHlch(44.86, 76.25, 326.23°)
OKLaboklab(55.22% 0.174 -0.1177)
OKLCHoklch(55.22% 0.21 325.9)
XYZxyz(26.2766, 14.4427, 43.5146)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34B2 #3AB234
analogous
#6D34B2 #AC34B2 #B23479
triadic
#AC34B2 #B2AC34 #34B2AC
tetradic
#AC34B2 #B26D34 #3AB234 #3479B2
square
#AC34B2 #B26D34 #3AB234 #3479B2
split-complementary
#AC34B2 #79B234 #34B26D
monochromatic
#501853 #7E2683 #AC34B2 #C856CE #D785DB

Accessibility & contrast

On white

5.40
#AC34B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AC34B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34B2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34B2#FFFFFF#000000##FFFFFF
##AC34B21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#B04870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ac34b2;
/* rgb */ color: rgb(172, 52, 178);
/* oklch */ color: oklch(55.2% 0.210 325.9);
Tailwind
colors: {
  custom: {
    50: '#c877c9',
    500: '#ac34b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac34b2;
$custom-light: #c877c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34b2",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 297.143,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55215,
    "c": 0.21007,
    "h": 325.9
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#AC34B2
secondary
#80C57D
accent
#DE4A51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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