#AC45B9#AC45B9

#AC45B9 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.194 H 323.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC45B9
RGBrgb(172, 69, 185)
HSLhsl(293, 46%, 50%)
HSVhsv(293, 63%, 73%)
CMYKcmyk(7%, 62.7%, 0%, 27.5%)
CIE-LABlab(47.66, 57.87, -42.04)
CIE-LCHlch(47.66, 71.53, 324.01°)
OKLaboklab(57.36% 0.1554 -0.1168)
OKLCHoklch(57.36% 0.194 323.1)
XYZxyz(27.8975, 16.5312, 47.6109)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45B9 #52B945
analogous
#7245B9 #AC45B9 #B9458C
triadic
#AC45B9 #B9AC45 #45B9AC
tetradic
#AC45B9 #B97245 #52B945 #458CB9
square
#AC45B9 #B97245 #52B945 #458CB9
split-complementary
#AC45B9 #8CB945 #45B972
monochromatic
#592460 #83348C #AC45B9 #C071CA #D49EDB

Accessibility & contrast

On white

4.88
#AC45B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AC45B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45B9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45B9#FFFFFF#000000##FFFFFF
##AC45B91.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BD
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#AF5779
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac45b9;
/* rgb */ color: rgb(172, 69, 185);
/* oklch */ color: oklch(57.4% 0.194 323.1);
Tailwind
colors: {
  custom: {
    50: '#c880ce',
    500: '#ac45b9',
    950: '#000000',
  },
}
SCSS
$custom: #ac45b9;
$custom-light: #c880ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45b9",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 293.276,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.19441,
    "h": 323.1
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#AC45B9
secondary
#99C793
accent
#D55261
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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