#AC399B#AC399B

#AC399B is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.4% C 0.186 H 334.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AC399B
RGBrgb(172, 57, 155)
HSLhsl(309, 50%, 45%)
HSVhsv(309, 67%, 67%)
CMYKcmyk(0%, 66.9%, 9.9%, 32.5%)
CIE-LABlab(44.33, 57.72, -29.56)
CIE-LCHlch(44.33, 64.85, 332.88°)
OKLaboklab(54.44% 0.1674 -0.0807)
OKLCHoklch(54.44% 0.186 334.3)
XYZxyz(24.3930, 14.0655, 32.4342)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC399B #39AC4A
analogous
#8439AC #AC399B #AC3961
triadic
#AC399B #9BAC39 #399BAC
tetradic
#AC399B #AC8439 #39AC4A #3961AC
square
#AC399B #AC8439 #39AC4A #3961AC
split-complementary
#AC399B #61AC39 #39AC84
monochromatic
#501B48 #7E2A72 #AC399B #C85AB8 #D888CC

Accessibility & contrast

On white

5.51
#AC399B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AC399B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC399B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC399B#FFFFFF#000000##FFFFFF
##AC399B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#5E6F98
Tritanopia (blue-blind)
#B44265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac399b;
/* rgb */ color: rgb(172, 57, 155);
/* oklch */ color: oklch(54.4% 0.186 334.3);
Tailwind
colors: {
  custom: {
    50: '#c878b9',
    500: '#ac399b',
    950: '#000000',
  },
}
SCSS
$custom: #ac399b;
$custom-light: #c878b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac399b",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 308.87,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.18583,
    "h": 334.3
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#AC399B
secondary
#7FC289
accent
#DA634E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AC399B

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

Preview Lab → · Contrast checker → · Palette generator →

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