#AC34BB#AC34BB

#AC34BB is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.217 H 323.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AC34BB
RGBrgb(172, 52, 187)
HSLhsl(293, 56%, 47%)
HSVhsv(293, 72%, 73%)
CMYKcmyk(8%, 72.2%, 0%, 26.7%)
CIE-LABlab(45.38, 64.96, -46.84)
CIE-LCHlch(45.38, 80.09, 324.21°)
OKLaboklab(55.75% 0.1737 -0.1307)
OKLCHoklch(55.75% 0.217 323)
XYZxyz(27.2100, 14.8161, 48.4307)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34BB #43BB34
analogous
#6834BB #AC34BB #BB3487
triadic
#AC34BB #BBAC34 #34BBAC
tetradic
#AC34BB #BB6834 #43BB34 #3487BB
square
#AC34BB #BB6834 #43BB34 #3487BB
split-complementary
#AC34BB #87BB34 #34BB68
monochromatic
#54195B #80278B #AC34BB #C45BD1 #D58BDF

Accessibility & contrast

On white

5.30
#AC34BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AC34BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34BB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34BB#FFFFFF#000000##FFFFFF
##AC34BB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#AF4C75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac34bb;
/* rgb */ color: rgb(172, 52, 187);
/* oklch */ color: oklch(55.8% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#c877d0',
    500: '#ac34bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac34bb;
$custom-light: #c877d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34bb",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 293.333,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.2174,
    "h": 323
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#AC34BB
secondary
#8AC982
accent
#E04859
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AC34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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