#AC4AC5#AC4AC5

#AC4AC5 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.198 H 318.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AC4AC5
RGBrgb(172, 74, 197)
HSLhsl(288, 51%, 53%)
HSVhsv(288, 62%, 77%)
CMYKcmyk(12.7%, 62.4%, 0%, 22.7%)
CIE-LABlab(49.13, 57.94, -46.67)
CIE-LCHlch(49.13, 74.40, 321.15°)
OKLaboklab(58.64% 0.1497 -0.1304)
OKLCHoklch(58.64% 0.198 318.9)
XYZxyz(29.5388, 17.7007, 54.6731)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4AC5 #63C54A
analogous
#6E4AC5 #AC4AC5 #C54AA0
triadic
#AC4AC5 #C5AC4A #4AC5AC
tetradic
#AC4AC5 #C56E4A #63C54A #4AA0C5
square
#AC4AC5 #C56E4A #63C54A #4AA0C5
split-complementary
#AC4AC5 #A0C54A #4AC56E
monochromatic
#612471 #89339F #AC4AC5 #C178D4 #D7A7E3

Accessibility & contrast

On white

4.63
#AC4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AC4AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4AC5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4AC5#FFFFFF#000000##FFFFFF
##AC4AC51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276EC9
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#AC5F81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac4ac5;
/* rgb */ color: rgb(172, 74, 197);
/* oklch */ color: oklch(58.6% 0.198 318.9);
Tailwind
colors: {
  custom: {
    50: '#c883d7',
    500: '#ac4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ac5;
$custom-light: #c883d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ac5",
  "rgb": {
    "r": 172,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 287.805,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58637,
    "c": 0.19849,
    "h": 318.9
  },
  "luminance": 0.17699
}

Semantic roles & 50–950 ramp

primary
#AC4AC5
secondary
#A6D09B
accent
#DB4D6A
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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