#AC54BB#AC54BB

#AC54BB is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.3% C 0.174 H 321.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AC54BB
RGBrgb(172, 84, 187)
HSLhsl(291, 43%, 53%)
HSVhsv(291, 55%, 73%)
CMYKcmyk(8%, 55.1%, 0%, 26.7%)
CIE-LABlab(50.33, 51.27, -38.98)
CIE-LCHlch(50.33, 64.40, 322.76°)
OKLaboklab(59.34% 0.1365 -0.1081)
OKLCHoklch(59.34% 0.174 321.6)
XYZxyz(29.1522, 18.7005, 49.0781)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54BB #63BB54
analogous
#7854BB #AC54BB #BB5496
triadic
#AC54BB #BBAC54 #54BBAC
tetradic
#AC54BB #BB7854 #63BB54 #5496BB
square
#AC54BB #BB7854 #63BB54 #5496BB
split-complementary
#AC54BB #96BB54 #54BB78
monochromatic
#612A6A #893C96 #AC54BB #C180CC #D7ACDE

Accessibility & contrast

On white

4.43
#AC54BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AC54BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54BB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54BB#FFFFFF#000000##000000
##AC54BB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#AE6380
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac54bb;
/* rgb */ color: rgb(172, 84, 187);
/* oklch */ color: oklch(59.3% 0.174 321.6);
Tailwind
colors: {
  custom: {
    50: '#c788d0',
    500: '#ac54bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac54bb;
$custom-light: #c788d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54bb",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 291.262,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59341,
    "c": 0.17408,
    "h": 321.6
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#AC54BB
secondary
#A6CC9F
accent
#D35567
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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