#AC399E#AC399E

#AC399E is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.6% C 0.188 H 333.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AC399E
RGBrgb(172, 57, 158)
HSLhsl(307, 50%, 45%)
HSVhsv(307, 67%, 67%)
CMYKcmyk(0%, 66.9%, 8.1%, 32.5%)
CIE-LABlab(44.47, 58.19, -31.13)
CIE-LCHlch(44.47, 65.99, 331.86°)
OKLaboklab(54.59% 0.1677 -0.0852)
OKLCHoklch(54.59% 0.188 333.1)
XYZxyz(24.6480, 14.1675, 33.7776)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC399E #39AC47
analogous
#8039AC #AC399E #AC3965
triadic
#AC399E #9EAC39 #399EAC
tetradic
#AC399E #AC8039 #39AC47 #3965AC
square
#AC399E #AC8039 #39AC47 #3965AC
split-complementary
#AC399E #65AC39 #39AC80
monochromatic
#501B4A #7E2A74 #AC399E #C85ABB #D888CE

Accessibility & contrast

On white

5.48
#AC399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AC399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC399E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC399E#FFFFFF#000000##FFFFFF
##AC399E1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA1
Deuteranopia (green-blind)
#5D6F9B
Tritanopia (blue-blind)
#B44366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac399e;
/* rgb */ color: rgb(172, 57, 158);
/* oklch */ color: oklch(54.6% 0.188 333.1);
Tailwind
colors: {
  custom: {
    50: '#c878bb',
    500: '#ac399e',
    950: '#000000',
  },
}
SCSS
$custom: #ac399e;
$custom-light: #c878bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac399e",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 307.304,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.18811,
    "h": 333.1
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#AC399E
secondary
#7FC287
accent
#DA5F4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AC399E

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

Preview Lab → · Contrast checker → · Palette generator →

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