#AC4ACC#AC4ACC

#AC4ACC is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.205 H 316.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AC4ACC
RGBrgb(172, 74, 204)
HSLhsl(285, 56%, 55%)
HSVhsv(285, 64%, 80%)
CMYKcmyk(15.7%, 63.7%, 0%, 20%)
CIE-LABlab(49.53, 59.32, -50.06)
CIE-LCHlch(49.53, 77.63, 319.84°)
OKLaboklab(59.06% 0.1497 -0.1403)
OKLCHoklch(59.06% 0.205 316.8)
XYZxyz(30.3595, 18.0290, 58.9958)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4ACC #6ACC4A
analogous
#6B4ACC #AC4ACC #CC4AAB
triadic
#AC4ACC #CCAC4A #4ACCAC
tetradic
#AC4ACC #CC6B4A #6ACC4A #4AABCC
square
#AC4ACC #CC6B4A #6ACC4A #4AABCC
split-complementary
#AC4ACC #ABCC4A #4ACC6B
monochromatic
#642279 #8B30A9 #AC4ACC #C27AD9 #D8A9E7

Accessibility & contrast

On white

4.56
#AC4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AC4ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4ACC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4ACC#FFFFFF#000000##000000
##AC4ACC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D0
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#AB6185
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac4acc;
/* rgb */ color: rgb(172, 74, 204);
/* oklch */ color: oklch(59.1% 0.205 316.8);
Tailwind
colors: {
  custom: {
    50: '#c883dc',
    500: '#ac4acc',
    950: '#000000',
  },
}
SCSS
$custom: #ac4acc;
$custom-light: #c883dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4acc",
  "rgb": {
    "r": 172,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 285.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.20513,
    "h": 316.8
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#AC4ACC
secondary
#ABD49D
accent
#DF486E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AC4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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