#AC54C8#AC54C8

#AC54C8 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.1% C 0.187 H 317.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AC54C8
RGBrgb(172, 84, 200)
HSLhsl(286, 51%, 56%)
HSVhsv(286, 58%, 78%)
CMYKcmyk(14%, 58%, 0%, 21.6%)
CIE-LABlab(51.02, 53.85, -45.40)
CIE-LCHlch(51.02, 70.44, 319.87°)
OKLaboklab(60.06% 0.1374 -0.1267)
OKLCHoklch(60.06% 0.187 317.3)
XYZxyz(30.6074, 19.2826, 56.7420)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54C8 #70C854
analogous
#7254C8 #AC54C8 #C854AA
triadic
#AC54C8 #C8AC54 #54C8AC
tetradic
#AC54C8 #C87254 #70C854 #54AAC8
square
#AC54C8 #C87254 #70C854 #54AAC8
split-complementary
#AC54C8 #AAC854 #54C872
monochromatic
#66277A #8D36A9 #AC54C8 #C282D7 #D9B1E6

Accessibility & contrast

On white

4.32
#AC54C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AC54C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54C8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54C8#FFFFFF#000000##000000
##AC54C81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3774CC
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#AB6786
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac54c8;
/* rgb */ color: rgb(172, 84, 200);
/* oklch */ color: oklch(60.1% 0.187 317.3);
Tailwind
colors: {
  custom: {
    50: '#c788d9',
    500: '#ac54c8',
    950: '#000000',
  },
}
SCSS
$custom: #ac54c8;
$custom-light: #c788d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54c8",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 285.517,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60061,
    "c": 0.18691,
    "h": 317.3
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#AC54C8
secondary
#AFD4A4
accent
#DB4D6F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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