#AC45C8#AC45C8

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

Color values

HEX#AC45C8
RGBrgb(172, 69, 200)
HSLhsl(287, 54%, 53%)
HSVhsv(287, 66%, 78%)
CMYKcmyk(14%, 65.5%, 0%, 21.6%)
CIE-LABlab(48.51, 60.72, -49.39)
CIE-LCHlch(48.51, 78.28, 320.87°)
OKLaboklab(58.24% 0.1555 -0.1383)
OKLCHoklch(58.24% 0.208 318.3)
XYZxyz(29.5653, 17.1983, 56.3946)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45C8 #61C845
analogous
#6B45C8 #AC45C8 #C845A2
triadic
#AC45C8 #C8AC45 #45C8AC
tetradic
#AC45C8 #C86B45 #61C845 #45A2C8
square
#AC45C8 #C86B45 #61C845 #45A2C8
split-complementary
#AC45C8 #A2C845 #45C86B
monochromatic
#602171 #882FA0 #AC45C8 #C174D6 #D6A3E4

Accessibility & contrast

On white

4.73
#AC45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AC45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45C8#FFFFFF#000000##FFFFFF
##AC45C81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146CCC
Deuteranopia (green-blind)
#4B77C5
Tritanopia (blue-blind)
#AC5D81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac45c8;
/* rgb */ color: rgb(172, 69, 200);
/* oklch */ color: oklch(58.2% 0.208 318.3);
Tailwind
colors: {
  custom: {
    50: '#c880d9',
    500: '#ac45c8',
    950: '#000000',
  },
}
SCSS
$custom: #ac45c8;
$custom-light: #c880d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45c8",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 287.176,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58243,
    "c": 0.20807,
    "h": 318.3
  },
  "luminance": 0.17197
}

Semantic roles & 50–950 ramp

primary
#AC45C8
secondary
#A4D198
accent
#DE4A6A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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