#AC45B2#AC45B2

#AC45B2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.188 H 325.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC45B2
RGBrgb(172, 69, 178)
HSLhsl(297, 44%, 48%)
HSVhsv(297, 61%, 70%)
CMYKcmyk(3.4%, 61.2%, 0%, 30.2%)
CIE-LABlab(47.29, 56.59, -38.53)
CIE-LCHlch(47.29, 68.46, 325.75°)
OKLaboklab(56.97% 0.155 -0.1067)
OKLCHoklch(56.97% 0.188 325.5)
XYZxyz(27.1767, 16.2429, 43.8146)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45B2 #4BB245
analogous
#7545B2 #AC45B2 #B24581
triadic
#AC45B2 #B2AC45 #45B2AC
tetradic
#AC45B2 #B27545 #4BB245 #4581B2
square
#AC45B2 #B27545 #4BB245 #4581B2
split-complementary
#AC45B2 #81B245 #45B275
monochromatic
#57235A #813486 #AC45B2 #C26EC7 #D49AD8

Accessibility & contrast

On white

4.94
#AC45B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AC45B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45B2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45B2#FFFFFF#000000##FFFFFF
##AC45B21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#B05475
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac45b2;
/* rgb */ color: rgb(172, 69, 178);
/* oklch */ color: oklch(57.0% 0.188 325.5);
Tailwind
colors: {
  custom: {
    50: '#c87fc9',
    500: '#ac45b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac45b2;
$custom-light: #c87fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45b2",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 296.697,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.1882,
    "h": 325.5
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#AC45B2
secondary
#92C48F
accent
#D4545B
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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