#AC34C3#AC34C3

#AC34C3 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.224 H 320.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AC34C3
RGBrgb(172, 52, 195)
HSLhsl(290, 58%, 48%)
HSVhsv(290, 73%, 76%)
CMYKcmyk(11.8%, 73.3%, 0%, 23.5%)
CIE-LABlab(45.86, 66.40, -50.73)
CIE-LCHlch(45.86, 83.56, 322.62°)
OKLaboklab(56.25% 0.1732 -0.1421)
OKLCHoklch(56.25% 0.224 320.6)
XYZxyz(28.0904, 15.1682, 53.0673)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34C3 #4BC334
analogous
#6434C3 #AC34C3 #C33492
triadic
#AC34C3 #C3AC34 #34C3AC
tetradic
#AC34C3 #C36434 #4BC334 #3492C3
square
#AC34C3 #C36434 #4BC334 #3492C3
split-complementary
#AC34C3 #92C334 #34C364
monochromatic
#571A62 #812793 #AC34C3 #C260D5 #D490E1

Accessibility & contrast

On white

5.21
#AC34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AC34C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34C3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34C3#FFFFFF#000000##FFFFFF
##AC34C31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#4371C0
Tritanopia (blue-blind)
#AD5079
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac34c3;
/* rgb */ color: rgb(172, 52, 195);
/* oklch */ color: oklch(56.3% 0.224 320.6);
Tailwind
colors: {
  custom: {
    50: '#c977d6',
    500: '#ac34c3',
    950: '#000000',
  },
}
SCSS
$custom: #ac34c3;
$custom-light: #c977d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34c3",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 290.35,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.22404,
    "h": 320.6
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#AC34C3
secondary
#92CC87
accent
#E14760
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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