#AC34B3#AC34B3

#AC34B3 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.211 H 325.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AC34B3
RGBrgb(172, 52, 179)
HSLhsl(297, 55%, 45%)
HSVhsv(297, 71%, 70%)
CMYKcmyk(3.9%, 70.9%, 0%, 29.8%)
CIE-LABlab(44.92, 63.56, -42.88)
CIE-LCHlch(44.92, 76.67, 325.99°)
OKLaboklab(55.27% 0.174 -0.1192)
OKLCHoklch(55.27% 0.211 325.6)
XYZxyz(26.3774, 14.4830, 44.0453)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34B3 #3BB334
analogous
#6C34B3 #AC34B3 #B3347A
triadic
#AC34B3 #B3AC34 #34B3AC
tetradic
#AC34B3 #B36C34 #3BB334 #347AB3
square
#AC34B3 #B36C34 #3BB334 #347AB3
split-complementary
#AC34B3 #7AB334 #34B36C
monochromatic
#511854 #7E2684 #AC34B3 #C756CE #D786DC

Accessibility & contrast

On white

5.39
#AC34B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AC34B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34B3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34B3#FFFFFF#000000##FFFFFF
##AC34B31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#B04970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ac34b3;
/* rgb */ color: rgb(172, 52, 179);
/* oklch */ color: oklch(55.3% 0.211 325.6);
Tailwind
colors: {
  custom: {
    50: '#c877ca',
    500: '#ac34b3',
    950: '#000000',
  },
}
SCSS
$custom: #ac34b3;
$custom-light: #c877ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34b3",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 296.693,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.21088,
    "h": 325.6
  },
  "luminance": 0.14481
}

Semantic roles & 50–950 ramp

primary
#AC34B3
secondary
#81C57D
accent
#DE4952
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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