#AC54CE#AC54CE

#AC54CE is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.193 H 315.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AC54CE
RGBrgb(172, 84, 206)
HSLhsl(283, 55%, 57%)
HSVhsv(283, 59%, 81%)
CMYKcmyk(16.5%, 59.2%, 0%, 19.2%)
CIE-LABlab(51.35, 55.08, -48.32)
CIE-LCHlch(51.35, 73.27, 318.74°)
OKLaboklab(60.41% 0.1376 -0.1352)
OKLCHoklch(60.41% 0.193 315.5)
XYZxyz(31.3224, 19.5686, 60.5077)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54CE #76CE54
analogous
#6F54CE #AC54CE #CE54B3
triadic
#AC54CE #CEAC54 #54CEAC
tetradic
#AC54CE #CE6F54 #76CE54 #54B3CE
square
#AC54CE #CE6F54 #76CE54 #54B3CE
split-complementary
#AC54CE #B3CE54 #54CE6F
monochromatic
#682582 #8E33B2 #AC54CE #C384DC #DAB3E9

Accessibility & contrast

On white

4.27
#AC54CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AC54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54CE#FFFFFF#000000##000000
##AC54CE1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#AA6989
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac54ce;
/* rgb */ color: rgb(172, 84, 206);
/* oklch */ color: oklch(60.4% 0.193 315.5);
Tailwind
colors: {
  custom: {
    50: '#c889dd',
    500: '#ac54ce',
    950: '#000000',
  },
}
SCSS
$custom: #ac54ce;
$custom-light: #c889dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54ce",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 283.279,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.19293,
    "h": 315.5
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#AC54CE
secondary
#B4D8A6
accent
#DF4973
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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