#AC45AA#AC45AA

#AC45AA is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.181 H 328.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AC45AA
RGBrgb(172, 69, 170)
HSLhsl(301, 43%, 47%)
HSVhsv(301, 60%, 67%)
CMYKcmyk(0%, 59.9%, 1.2%, 32.5%)
CIE-LABlab(46.88, 55.17, -34.47)
CIE-LCHlch(46.88, 65.05, 328.00°)
OKLaboklab(56.54% 0.1544 -0.0949)
OKLCHoklch(56.54% 0.181 328.4)
XYZxyz(26.3968, 15.9309, 39.7070)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45AA #45AC47
analogous
#7B45AC #AC45AA #AC4577
triadic
#AC45AA #AAAC45 #45AAAC
tetradic
#AC45AA #AC7B45 #45AC47 #4577AC
square
#AC45AA #AC7B45 #45AC47 #4577AC
split-complementary
#AC45AA #77AC45 #45AC7B
monochromatic
#552254 #80337F #AC45AA #C46BC2 #D596D4

Accessibility & contrast

On white

5.02
#AC45AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AC45AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45AA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45AA#FFFFFF#000000##FFFFFF
##AC45AA1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AD
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#B15171
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac45aa;
/* rgb */ color: rgb(172, 69, 170);
/* oklch */ color: oklch(56.5% 0.181 328.4);
Tailwind
colors: {
  custom: {
    50: '#c77fc3',
    500: '#ac45aa',
    950: '#000000',
  },
}
SCSS
$custom: #ac45aa;
$custom-light: #c77fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45aa",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 301.165,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.18125,
    "h": 328.4
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#AC45AA
secondary
#8CC18D
accent
#D35855
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AC45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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