#AC4EC5#AC4EC5

#AC4EC5 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.193 H 318.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AC4EC5
RGBrgb(172, 78, 197)
HSLhsl(287, 51%, 54%)
HSVhsv(287, 60%, 77%)
CMYKcmyk(12.7%, 60.4%, 0%, 22.7%)
CIE-LABlab(49.80, 56.11, -45.61)
CIE-LCHlch(49.80, 72.30, 320.89°)
OKLaboklab(59.12% 0.1448 -0.1273)
OKLCHoklch(59.12% 0.193 318.7)
XYZxyz(29.8143, 18.2519, 54.7650)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EC5 #67C54E
analogous
#714EC5 #AC4EC5 #C54EA3
triadic
#AC4EC5 #C5AC4E #4EC5AC
tetradic
#AC4EC5 #C5714E #67C54E #4EA3C5
square
#AC4EC5 #C5714E #67C54E #4EA3C5
split-complementary
#AC4EC5 #A3C54E #4EC571
monochromatic
#632673 #8A35A1 #AC4EC5 #C27CD4 #D7AAE3

Accessibility & contrast

On white

4.52
#AC4EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AC4EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4EC5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4EC5#FFFFFF#000000##000000
##AC4EC51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C9
Deuteranopia (green-blind)
#557AC2
Tritanopia (blue-blind)
#AC6282
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac4ec5;
/* rgb */ color: rgb(172, 78, 197);
/* oklch */ color: oklch(59.1% 0.193 318.7);
Tailwind
colors: {
  custom: {
    50: '#c885d7',
    500: '#ac4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ec5;
$custom-light: #c885d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ec5",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 287.395,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.1928,
    "h": 318.7
  },
  "luminance": 0.18251
}

Semantic roles & 50–950 ramp

primary
#AC4EC5
secondary
#A9D19E
accent
#DA4E6B
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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