#AC34CF#AC34CF

#AC34CF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.234 H 317.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AC34CF
RGBrgb(172, 52, 207)
HSLhsl(286, 62%, 51%)
HSVhsv(286, 75%, 81%)
CMYKcmyk(16.9%, 74.9%, 0%, 18.8%)
CIE-LABlab(46.62, 68.62, -56.46)
CIE-LCHlch(46.62, 88.86, 320.55°)
OKLaboklab(57.03% 0.172 -0.1589)
OKLCHoklch(57.03% 0.234 317.3)
XYZxyz(29.5021, 15.7329, 60.5021)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34CF #57CF34
analogous
#5E34CF #AC34CF #CF34A4
triadic
#AC34CF #CFAC34 #34CFAC
tetradic
#AC34CF #CF5E34 #57CF34 #34A4CF
square
#AC34CF #CF5E34 #57CF34 #34A4CF
split-complementary
#AC34CF #A4CF34 #34CF5E
monochromatic
#5B1A6E #8426A0 #AC34CF #C065DB #D497E6

Accessibility & contrast

On white

5.06
#AC34CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AC34CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34CF#FFFFFF#000000##FFFFFF
##AC34CF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#AA5580
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac34cf;
/* rgb */ color: rgb(172, 52, 207);
/* oklch */ color: oklch(57.0% 0.234 317.3);
Tailwind
colors: {
  custom: {
    50: '#c978de',
    500: '#ac34cf',
    950: '#000000',
  },
}
SCSS
$custom: #ac34cf;
$custom-light: #c978de;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34cf",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 286.452,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.23414,
    "h": 317.3
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#AC34CF
secondary
#9DD28D
accent
#E54368
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC34CF

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

Preview Lab → · Contrast checker → · Palette generator →

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