#AC34B8#AC34B8

#AC34B8 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.215 H 324.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AC34B8
RGBrgb(172, 52, 184)
HSLhsl(295, 56%, 46%)
HSVhsv(295, 72%, 72%)
CMYKcmyk(6.5%, 71.7%, 0%, 27.8%)
CIE-LABlab(45.21, 64.43, -45.36)
CIE-LCHlch(45.21, 78.80, 324.85°)
OKLaboklab(55.57% 0.1738 -0.1264)
OKLCHoklch(55.57% 0.215 324)
XYZxyz(26.8922, 14.6890, 46.7569)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34B8 #40B834
analogous
#6A34B8 #AC34B8 #B83482
triadic
#AC34B8 #B8AC34 #34B8AC
tetradic
#AC34B8 #B86A34 #40B834 #3482B8
square
#AC34B8 #B86A34 #40B834 #3482B8
split-complementary
#AC34B8 #82B834 #34B86A
monochromatic
#531959 #7F2788 #AC34B8 #C559D0 #D689DE

Accessibility & contrast

On white

5.33
#AC34B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AC34B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34B8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34B8#FFFFFF#000000##FFFFFF
##AC34B81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0362BC
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#AF4B73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac34b8;
/* rgb */ color: rgb(172, 52, 184);
/* oklch */ color: oklch(55.6% 0.215 324.0);
Tailwind
colors: {
  custom: {
    50: '#c877ce',
    500: '#ac34b8',
    950: '#000000',
  },
}
SCSS
$custom: #ac34b8;
$custom-light: #c877ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34b8",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 294.545,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.21495,
    "h": 324
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#AC34B8
secondary
#87C880
accent
#DF4956
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AC34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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