#AC4E9D#AC4E9D

#AC4E9D is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.0% C 0.156 H 333.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AC4E9D
RGBrgb(172, 78, 157)
HSLhsl(310, 38%, 49%)
HSVhsv(310, 55%, 67%)
CMYKcmyk(0%, 54.7%, 8.7%, 32.5%)
CIE-LABlab(47.82, 48.74, -25.31)
CIE-LCHlch(47.82, 54.92, 332.56°)
OKLaboklab(57.03% 0.1405 -0.0688)
OKLCHoklch(57.03% 0.156 333.9)
XYZxyz(25.8235, 16.6556, 33.7465)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4E9D #4EAC5D
analogous
#8C4EAC #AC4E9D #AC4E6E
triadic
#AC4E9D #9DAC4E #4E9DAC
tetradic
#AC4E9D #AC8C4E #4EAC5D #4E6EAC
square
#AC4E9D #AC8C4E #4EAC5D #4E6EAC
split-complementary
#AC4E9D #6EAC4E #4EAC8C
monochromatic
#582850 #823B77 #AC4E9D #C176B5 #D4A0CC

Accessibility & contrast

On white

4.85
#AC4E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AC4E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4E9D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4E9D#FFFFFF#000000##FFFFFF
##AC4E9D1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D69A0
Deuteranopia (green-blind)
#69769A
Tritanopia (blue-blind)
#B3546E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac4e9d;
/* rgb */ color: rgb(172, 78, 157);
/* oklch */ color: oklch(57.0% 0.156 333.9);
Tailwind
colors: {
  custom: {
    50: '#c784ba',
    500: '#ac4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #ac4e9d;
$custom-light: #c784ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4e9d",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 309.574,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.15645,
    "h": 333.9
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#AC4E9D
secondary
#95C19C
accent
#CE6D5A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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