#AC45B7#AC45B7

#AC45B7 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.2% C 0.193 H 323.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC45B7
RGBrgb(172, 69, 183)
HSLhsl(294, 45%, 49%)
HSVhsv(294, 62%, 72%)
CMYKcmyk(6%, 62.3%, 0%, 28.2%)
CIE-LABlab(47.56, 57.50, -41.04)
CIE-LCHlch(47.56, 70.65, 324.48°)
OKLaboklab(57.25% 0.1553 -0.114)
OKLCHoklch(57.25% 0.193 323.7)
XYZxyz(27.6878, 16.4473, 46.5068)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45B7 #50B745
analogous
#7345B7 #AC45B7 #B74589
triadic
#AC45B7 #B7AC45 #45B7AC
tetradic
#AC45B7 #B77345 #50B745 #4589B7
square
#AC45B7 #B77345 #50B745 #4589B7
split-complementary
#AC45B7 #89B745 #45B773
monochromatic
#58235E #82348B #AC45B7 #C170C9 #D49DDA

Accessibility & contrast

On white

4.90
#AC45B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AC45B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45B7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45B7#FFFFFF#000000##FFFFFF
##AC45B71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#AF5678
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac45b7;
/* rgb */ color: rgb(172, 69, 183);
/* oklch */ color: oklch(57.2% 0.193 323.7);
Tailwind
colors: {
  custom: {
    50: '#c87fcd',
    500: '#ac45b7',
    950: '#000000',
  },
}
SCSS
$custom: #ac45b7;
$custom-light: #c87fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45b7",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 294.211,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.19263,
    "h": 323.7
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#AC45B7
secondary
#97C692
accent
#D5535F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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