#AC54BC#AC54BC

#AC54BC is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.4% C 0.175 H 321.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AC54BC
RGBrgb(172, 84, 188)
HSLhsl(291, 44%, 53%)
HSVhsv(291, 55%, 74%)
CMYKcmyk(8.5%, 55.3%, 0%, 26.3%)
CIE-LABlab(50.39, 51.46, -39.47)
CIE-LCHlch(50.39, 64.86, 322.51°)
OKLaboklab(59.4% 0.1366 -0.1095)
OKLCHoklch(59.4% 0.175 321.3)
XYZxyz(29.2597, 18.7435, 49.6438)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54BC #64BC54
analogous
#7854BC #AC54BC #BC5498
triadic
#AC54BC #BCAC54 #54BCAC
tetradic
#AC54BC #BC7854 #64BC54 #5498BC
square
#AC54BC #BC7854 #64BC54 #5498BC
split-complementary
#AC54BC #98BC54 #54BC78
monochromatic
#612A6B #893B97 #AC54BC #C180CD #D7ACDE

Accessibility & contrast

On white

4.42
#AC54BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AC54BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54BC#FFFFFF#000000##000000
##AC54BC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172BF
Deuteranopia (green-blind)
#5F7BB9
Tritanopia (blue-blind)
#AE6380
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac54bc;
/* rgb */ color: rgb(172, 84, 188);
/* oklch */ color: oklch(59.4% 0.175 321.3);
Tailwind
colors: {
  custom: {
    50: '#c788d0',
    500: '#ac54bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac54bc;
$custom-light: #c788d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54bc",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 290.769,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.17504,
    "h": 321.3
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#AC54BC
secondary
#A6CCA0
accent
#D35468
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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