#AC54BF#AC54BF

#AC54BF is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.178 H 320.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AC54BF
RGBrgb(172, 84, 191)
HSLhsl(289, 46%, 54%)
HSVhsv(289, 56%, 75%)
CMYKcmyk(9.9%, 56%, 0%, 25.1%)
CIE-LABlab(50.54, 52.05, -40.97)
CIE-LCHlch(50.54, 66.24, 321.80°)
OKLaboklab(59.56% 0.1368 -0.1138)
OKLCHoklch(59.56% 0.178 320.2)
XYZxyz(29.5864, 18.8742, 51.3647)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54BF #67BF54
analogous
#7754BF #AC54BF #BF549D
triadic
#AC54BF #BFAC54 #54BFAC
tetradic
#AC54BF #BF7754 #67BF54 #549DBF
square
#AC54BF #BF7754 #67BF54 #549DBF
split-complementary
#AC54BF #9DBF54 #54BF77
monochromatic
#632A6F #8A3A9C #AC54BF #C281D0 #D7ADE0

Accessibility & contrast

On white

4.40
#AC54BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AC54BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54BF#FFFFFF#000000##000000
##AC54BF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#5D7CBC
Tritanopia (blue-blind)
#AD6482
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac54bf;
/* rgb */ color: rgb(172, 84, 191);
/* oklch */ color: oklch(59.6% 0.178 320.2);
Tailwind
colors: {
  custom: {
    50: '#c788d3',
    500: '#ac54bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac54bf;
$custom-light: #c788d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54bf",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 289.346,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59558,
    "c": 0.17799,
    "h": 320.2
  },
  "luminance": 0.18873
}

Semantic roles & 50–950 ramp

primary
#AC54BF
secondary
#A9CEA1
accent
#D5536A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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