#AC399D#AC399D

#AC399D is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.187 H 333.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AC399D
RGBrgb(172, 57, 157)
HSLhsl(308, 50%, 45%)
HSVhsv(308, 67%, 67%)
CMYKcmyk(0%, 66.9%, 8.7%, 32.5%)
CIE-LABlab(44.42, 58.03, -30.61)
CIE-LCHlch(44.42, 65.61, 332.19°)
OKLaboklab(54.54% 0.1676 -0.0837)
OKLCHoklch(54.54% 0.187 333.5)
XYZxyz(24.5623, 14.1332, 33.3261)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC399D #39AC48
analogous
#8139AC #AC399D #AC3964
triadic
#AC399D #9DAC39 #399DAC
tetradic
#AC399D #AC8139 #39AC48 #3964AC
square
#AC399D #AC8139 #39AC48 #3964AC
split-complementary
#AC399D #64AC39 #39AC81
monochromatic
#501B49 #7E2A73 #AC399D #C85ABA #D888CD

Accessibility & contrast

On white

5.49
#AC399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC399D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC399D#FFFFFF#000000##FFFFFF
##AC399D1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#5D6F9A
Tritanopia (blue-blind)
#B44366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac399d;
/* rgb */ color: rgb(172, 57, 157);
/* oklch */ color: oklch(54.5% 0.187 333.5);
Tailwind
colors: {
  custom: {
    50: '#c878ba',
    500: '#ac399d',
    950: '#000000',
  },
}
SCSS
$custom: #ac399d;
$custom-light: #c878ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac399d",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 307.826,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.18735,
    "h": 333.5
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#AC399D
secondary
#7FC288
accent
#DA604E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AC399D

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

Preview Lab → · Contrast checker → · Palette generator →

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