#AC339B#AC339B

#AC339B is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.193 H 334.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AC339B
RGBrgb(172, 51, 155)
HSLhsl(308, 54%, 44%)
HSVhsv(308, 70%, 67%)
CMYKcmyk(0%, 70.3%, 9.9%, 32.5%)
CIE-LABlab(43.52, 59.99, -30.83)
CIE-LCHlch(43.52, 67.44, 332.80°)
OKLaboklab(53.85% 0.1741 -0.0843)
OKLCHoklch(53.85% 0.193 334.2)
XYZxyz(24.1137, 13.5069, 32.3411)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC339B #33AC44
analogous
#8033AC #AC339B #AC335E
triadic
#AC339B #9BAC33 #339BAC
tetradic
#AC339B #AC8033 #33AC44 #335EAC
square
#AC339B #AC8033 #33AC44 #335EAC
split-complementary
#AC339B #5EAC33 #33AC80
monochromatic
#4E1746 #7D2570 #AC339B #CB51BA #D980CD

Accessibility & contrast

On white

5.67
#AC339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AC339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC339B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC339B#FFFFFF#000000##FFFFFF
##AC339B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9E
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#B43D63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac339b;
/* rgb */ color: rgb(172, 51, 155);
/* oklch */ color: oklch(53.9% 0.193 334.2);
Tailwind
colors: {
  custom: {
    50: '#c876b9',
    500: '#ac339b',
    950: '#000000',
  },
}
SCSS
$custom: #ac339b;
$custom-light: #c876b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac339b",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 308.43,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53854,
    "c": 0.19339,
    "h": 334.2
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#AC339B
secondary
#78C283
accent
#DE5F4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC339B

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

Preview Lab → · Contrast checker → · Palette generator →

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