#AC45C5#AC45C5

#AC45C5 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.1% C 0.205 H 319.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AC45C5
RGBrgb(172, 69, 197)
HSLhsl(288, 52%, 52%)
HSVhsv(288, 65%, 77%)
CMYKcmyk(12.7%, 65%, 0%, 22.7%)
CIE-LABlab(48.33, 60.14, -47.94)
CIE-LCHlch(48.33, 76.91, 321.44°)
OKLaboklab(58.06% 0.1555 -0.134)
OKLCHoklch(58.06% 0.205 319.2)
XYZxyz(29.2181, 17.0594, 54.5662)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45C5 #5EC545
analogous
#6C45C5 #AC45C5 #C5459E
triadic
#AC45C5 #C5AC45 #45C5AC
tetradic
#AC45C5 #C56C45 #5EC545 #459EC5
square
#AC45C5 #C56C45 #5EC545 #459EC5
split-complementary
#AC45C5 #9EC545 #45C56C
monochromatic
#5F226D #87319C #AC45C5 #C174D4 #D6A2E2

Accessibility & contrast

On white

4.76
#AC45C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AC45C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45C5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45C5#FFFFFF#000000##FFFFFF
##AC45C51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6CC9
Deuteranopia (green-blind)
#4E76C2
Tritanopia (blue-blind)
#AC5B7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac45c5;
/* rgb */ color: rgb(172, 69, 197);
/* oklch */ color: oklch(58.1% 0.205 319.2);
Tailwind
colors: {
  custom: {
    50: '#c880d7',
    500: '#ac45c5',
    950: '#000000',
  },
}
SCSS
$custom: #ac45c5;
$custom-light: #c880d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45c5",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 288.281,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58061,
    "c": 0.2053,
    "h": 319.2
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

primary
#AC45C5
secondary
#A2CF97
accent
#DC4C68
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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