#AC45AE#AC45AE

#AC45AE is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.185 H 326.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AC45AE
RGBrgb(172, 69, 174)
HSLhsl(299, 43%, 48%)
HSVhsv(299, 60%, 68%)
CMYKcmyk(1.1%, 60.3%, 0%, 31.8%)
CIE-LABlab(47.09, 55.87, -36.51)
CIE-LCHlch(47.09, 66.74, 326.84°)
OKLaboklab(56.75% 0.1548 -0.1008)
OKLCHoklch(56.75% 0.185 326.9)
XYZxyz(26.7809, 16.0846, 41.7302)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45AE #47AE45
analogous
#7745AE #AC45AE #AE457C
triadic
#AC45AE #AEAC45 #45AEAC
tetradic
#AC45AE #AE7745 #47AE45 #457CAE
square
#AC45AE #AE7745 #47AE45 #457CAE
split-complementary
#AC45AE #7CAE45 #45AE77
monochromatic
#552256 #813482 #AC45AE #C36CC5 #D597D6

Accessibility & contrast

On white

4.98
#AC45AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AC45AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45AE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45AE#FFFFFF#000000##FFFFFF
##AC45AE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#B15373
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac45ae;
/* rgb */ color: rgb(172, 69, 174);
/* oklch */ color: oklch(56.8% 0.185 326.9);
Tailwind
colors: {
  custom: {
    50: '#c87fc6',
    500: '#ac45ae',
    950: '#000000',
  },
}
SCSS
$custom: #ac45ae;
$custom-light: #c87fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45ae",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 298.857,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.18469,
    "h": 326.9
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#AC45AE
secondary
#8EC28D
accent
#D35557
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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