#AC34B7#AC34B7

#AC34B7 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.214 H 324.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AC34B7
RGBrgb(172, 52, 183)
HSLhsl(295, 56%, 46%)
HSVhsv(295, 72%, 72%)
CMYKcmyk(6%, 71.6%, 0%, 28.2%)
CIE-LABlab(45.15, 64.26, -44.87)
CIE-LCHlch(45.15, 78.37, 325.07°)
OKLaboklab(55.51% 0.1739 -0.125)
OKLCHoklch(55.51% 0.214 324.3)
XYZxyz(26.7878, 14.6472, 46.2068)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34B7 #3FB734
analogous
#6A34B7 #AC34B7 #B73480
triadic
#AC34B7 #B7AC34 #34B7AC
tetradic
#AC34B7 #B76A34 #3FB734 #3480B7
square
#AC34B7 #B76A34 #3FB734 #3480B7
split-complementary
#AC34B7 #80B734 #34B76A
monochromatic
#521958 #7F2687 #AC34B7 #C659D0 #D688DD

Accessibility & contrast

On white

5.34
#AC34B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AC34B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34B7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34B7#FFFFFF#000000##FFFFFF
##AC34B71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BB
Deuteranopia (green-blind)
#4C70B4
Tritanopia (blue-blind)
#AF4B72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac34b7;
/* rgb */ color: rgb(172, 52, 183);
/* oklch */ color: oklch(55.5% 0.214 324.3);
Tailwind
colors: {
  custom: {
    50: '#c877cd',
    500: '#ac34b7',
    950: '#000000',
  },
}
SCSS
$custom: #ac34b7;
$custom-light: #c877cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34b7",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 294.962,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.21413,
    "h": 324.3
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#AC34B7
secondary
#86C780
accent
#DF4955
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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