#AC339D#AC339D

#AC339D is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.195 H 333.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AC339D
RGBrgb(172, 51, 157)
HSLhsl(307, 54%, 44%)
HSVhsv(307, 70%, 67%)
CMYKcmyk(0%, 70.3%, 8.7%, 32.5%)
CIE-LABlab(43.62, 60.30, -31.87)
CIE-LCHlch(43.62, 68.20, 332.14°)
OKLaboklab(53.96% 0.1742 -0.0873)
OKLCHoklch(53.96% 0.195 333.4)
XYZxyz(24.2830, 13.5746, 33.2330)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC339D #33AC42
analogous
#7E33AC #AC339D #AC3360
triadic
#AC339D #9DAC33 #339DAC
tetradic
#AC339D #AC7E33 #33AC42 #3360AC
square
#AC339D #AC7E33 #33AC42 #3360AC
split-complementary
#AC339D #60AC33 #33AC7E
monochromatic
#4E1747 #7D2572 #AC339D #CB51BC #D980CE

Accessibility & contrast

On white

5.65
#AC339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AC339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC339D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC339D#FFFFFF#000000##FFFFFF
##AC339D1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#B43E64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac339d;
/* rgb */ color: rgb(172, 51, 157);
/* oklch */ color: oklch(54.0% 0.195 333.4);
Tailwind
colors: {
  custom: {
    50: '#c876ba',
    500: '#ac339d',
    950: '#000000',
  },
}
SCSS
$custom: #ac339d;
$custom-light: #c876ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac339d",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 307.438,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.19488,
    "h": 333.4
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#AC339D
secondary
#78C282
accent
#DE5C4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC339D

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

Preview Lab → · Contrast checker → · Palette generator →

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