#AC45BC#AC45BC

#AC45BC is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.197 H 322.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AC45BC
RGBrgb(172, 69, 188)
HSLhsl(292, 47%, 50%)
HSVhsv(292, 63%, 74%)
CMYKcmyk(8.5%, 63.3%, 0%, 26.3%)
CIE-LABlab(47.83, 58.43, -43.53)
CIE-LCHlch(47.83, 72.86, 323.32°)
OKLaboklab(57.53% 0.1555 -0.1212)
OKLCHoklch(57.53% 0.197 322.1)
XYZxyz(28.2175, 16.6592, 49.2964)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45BC #55BC45
analogous
#7045BC #AC45BC #BC4590
triadic
#AC45BC #BCAC45 #45BCAC
tetradic
#AC45BC #BC7045 #55BC45 #4590BC
square
#AC45BC #BC7045 #55BC45 #4590BC
split-complementary
#AC45BC #90BC45 #45BC70
monochromatic
#5A2463 #843490 #AC45BC #C072CC #D49FDC

Accessibility & contrast

On white

4.85
#AC45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AC45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45BC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45BC#FFFFFF#000000##FFFFFF
##AC45BC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#AE587A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac45bc;
/* rgb */ color: rgb(172, 69, 188);
/* oklch */ color: oklch(57.5% 0.197 322.1);
Tailwind
colors: {
  custom: {
    50: '#c880d1',
    500: '#ac45bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac45bc;
$custom-light: #c880d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45bc",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 291.933,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.19711,
    "h": 322.1
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#AC45BC
secondary
#9BC994
accent
#D75163
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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