#AC45B8#AC45B8

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

Color values

HEX#AC45B8
RGBrgb(172, 69, 184)
HSLhsl(294, 45%, 50%)
HSVhsv(294, 63%, 72%)
CMYKcmyk(6.5%, 62.5%, 0%, 27.8%)
CIE-LABlab(47.61, 57.69, -41.54)
CIE-LCHlch(47.61, 71.09, 324.24°)
OKLaboklab(57.3% 0.1553 -0.1154)
OKLCHoklch(57.3% 0.194 323.4)
XYZxyz(27.7923, 16.4891, 47.0569)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45B8 #51B845
analogous
#7245B8 #AC45B8 #B8458B
triadic
#AC45B8 #B8AC45 #45B8AC
tetradic
#AC45B8 #B87245 #51B845 #458BB8
square
#AC45B8 #B87245 #51B845 #458BB8
split-complementary
#AC45B8 #8BB845 #45B872
monochromatic
#59245F #82348B #AC45B8 #C071CA #D49DDA

Accessibility & contrast

On white

4.89
#AC45B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AC45B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45B8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45B8#FFFFFF#000000##FFFFFF
##AC45B81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BB
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#AF5678
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac45b8;
/* rgb */ color: rgb(172, 69, 184);
/* oklch */ color: oklch(57.3% 0.194 323.4);
Tailwind
colors: {
  custom: {
    50: '#c87fce',
    500: '#ac45b8',
    950: '#000000',
  },
}
SCSS
$custom: #ac45b8;
$custom-light: #c87fce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45b8",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 293.739,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.19352,
    "h": 323.4
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#AC45B8
secondary
#98C792
accent
#D55360
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC45B8

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

Preview Lab → · Contrast checker → · Palette generator →

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