#AC45C7#AC45C7

#AC45C7 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.2% C 0.207 H 318.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AC45C7
RGBrgb(172, 69, 199)
HSLhsl(288, 54%, 53%)
HSVhsv(288, 65%, 78%)
CMYKcmyk(13.6%, 65.3%, 0%, 22%)
CIE-LABlab(48.45, 60.53, -48.91)
CIE-LCHlch(48.45, 77.82, 321.06°)
OKLaboklab(58.18% 0.1555 -0.1369)
OKLCHoklch(58.18% 0.207 318.6)
XYZxyz(29.4488, 17.1517, 55.7812)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45C7 #60C745
analogous
#6B45C7 #AC45C7 #C745A1
triadic
#AC45C7 #C7AC45 #45C7AC
tetradic
#AC45C7 #C76B45 #60C745 #45A1C7
square
#AC45C7 #C76B45 #60C745 #45A1C7
split-complementary
#AC45C7 #A1C745 #45C76B
monochromatic
#602270 #88309F #AC45C7 #C174D5 #D6A3E3

Accessibility & contrast

On white

4.74
#AC45C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AC45C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45C7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45C7#FFFFFF#000000##FFFFFF
##AC45C71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176CCB
Deuteranopia (green-blind)
#4C76C4
Tritanopia (blue-blind)
#AC5C80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac45c7;
/* rgb */ color: rgb(172, 69, 199);
/* oklch */ color: oklch(58.2% 0.207 318.6);
Tailwind
colors: {
  custom: {
    50: '#c880d8',
    500: '#ac45c7',
    950: '#000000',
  },
}
SCSS
$custom: #ac45c7;
$custom-light: #c880d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45c7",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 287.538,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.20715,
    "h": 318.6
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#AC45C7
secondary
#A3D098
accent
#DD4B69
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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