#AC54AF#AC54AF

#AC54AF is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.7% C 0.163 H 326.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AC54AF
RGBrgb(172, 84, 175)
HSLhsl(298, 36%, 51%)
HSVhsv(298, 52%, 69%)
CMYKcmyk(1.7%, 52%, 0%, 31.4%)
CIE-LABlab(49.75, 48.98, -32.91)
CIE-LCHlch(49.75, 59.01, 326.10°)
OKLaboklab(58.72% 0.1351 -0.0906)
OKLCHoklch(58.72% 0.163 326.2)
XYZxyz(27.9209, 18.2080, 42.5929)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54AF #57AF54
analogous
#7E54AF #AC54AF #AF5484
triadic
#AC54AF #AFAC54 #54AFAC
tetradic
#AC54AF #AF7E54 #57AF54 #5484AF
square
#AC54AF #AF7E54 #57AF54 #5484AF
split-complementary
#AC54AF #84AF54 #54AF7E
monochromatic
#5B2C5D #843F87 #AC54AF #C07EC3 #D4A7D6

Accessibility & contrast

On white

4.52
#AC54AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AC54AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54AF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54AF#FFFFFF#000000##000000
##AC54AF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#B05F7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac54af;
/* rgb */ color: rgb(172, 84, 175);
/* oklch */ color: oklch(58.7% 0.163 326.2);
Tailwind
colors: {
  custom: {
    50: '#c788c7',
    500: '#ac54af',
    950: '#000000',
  },
}
SCSS
$custom: #ac54af;
$custom-light: #c788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54af",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 298.022,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.16261,
    "h": 326.2
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#AC54AF
secondary
#9DC49B
accent
#CC5C5F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AC54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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