#AC4FA5#AC4FA5

#AC4FA5 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.5% C 0.162 H 330.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AC4FA5
RGBrgb(172, 79, 165)
HSLhsl(305, 37%, 49%)
HSVhsv(305, 54%, 67%)
CMYKcmyk(0%, 54.1%, 4.1%, 32.5%)
CIE-LABlab(48.36, 49.63, -29.20)
CIE-LCHlch(48.36, 57.59, 329.53°)
OKLaboklab(57.55% 0.1405 -0.0799)
OKLCHoklch(57.55% 0.162 330.4)
XYZxyz(26.6006, 17.0809, 37.4859)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FA5 #4FAC56
analogous
#854FAC #AC4FA5 #AC4F77
triadic
#AC4FA5 #A5AC4F #4FA5AC
tetradic
#AC4FA5 #AC854F #4FAC56 #4F77AC
square
#AC4FA5 #AC854F #4FAC56 #4F77AC
split-complementary
#AC4FA5 #77AC4F #4FAC85
monochromatic
#582855 #823C7D #AC4FA5 #C177BB #D4A1D0

Accessibility & contrast

On white

4.76
#AC4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AC4FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4FA5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FA5#FFFFFF#000000##FFFFFF
##AC4FA51.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA8
Deuteranopia (green-blind)
#6677A2
Tritanopia (blue-blind)
#B25773
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac4fa5;
/* rgb */ color: rgb(172, 79, 165);
/* oklch */ color: oklch(57.5% 0.162 330.4);
Tailwind
colors: {
  custom: {
    50: '#c785c0',
    500: '#ac4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fa5;
$custom-light: #c785c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fa5",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 304.516,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.16163,
    "h": 330.4
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#AC4FA5
secondary
#96C199
accent
#CD635B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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