#AC45C1#AC45C1

#AC45C1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.8% C 0.202 H 320.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AC45C1
RGBrgb(172, 69, 193)
HSLhsl(290, 50%, 51%)
HSVhsv(290, 64%, 76%)
CMYKcmyk(10.9%, 64.2%, 0%, 24.3%)
CIE-LABlab(48.11, 59.38, -45.99)
CIE-LCHlch(48.11, 75.10, 322.24°)
OKLaboklab(57.82% 0.1555 -0.1284)
OKLCHoklch(57.82% 0.202 320.5)
XYZxyz(28.7659, 16.8785, 52.1844)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45C1 #5AC145
analogous
#6E45C1 #AC45C1 #C14598
triadic
#AC45C1 #C1AC45 #45C1AC
tetradic
#AC45C1 #C16E45 #5AC145 #4598C1
square
#AC45C1 #C16E45 #5AC145 #4598C1
split-complementary
#AC45C1 #98C145 #45C16E
monochromatic
#5D2369 #863297 #AC45C1 #C073D0 #D5A1E0

Accessibility & contrast

On white

4.80
#AC45C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AC45C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45C1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45C1#FFFFFF#000000##FFFFFF
##AC45C11.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#5076BE
Tritanopia (blue-blind)
#AD5A7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac45c1;
/* rgb */ color: rgb(172, 69, 193);
/* oklch */ color: oklch(57.8% 0.202 320.5);
Tailwind
colors: {
  custom: {
    50: '#c880d4',
    500: '#ac45c1',
    950: '#000000',
  },
}
SCSS
$custom: #ac45c1;
$custom-light: #c880d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45c1",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 289.839,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.20165,
    "h": 320.5
  },
  "luminance": 0.16877
}

Semantic roles & 50–950 ramp

primary
#AC45C1
secondary
#9FCC96
accent
#DA4E66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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