#AC45A2#AC45A2

#AC45A2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.1% C 0.175 H 331.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AC45A2
RGBrgb(172, 69, 162)
HSLhsl(306, 43%, 47%)
HSVhsv(306, 60%, 67%)
CMYKcmyk(0%, 59.9%, 5.8%, 32.5%)
CIE-LABlab(46.50, 53.79, -30.34)
CIE-LCHlch(46.50, 61.76, 330.57°)
OKLaboklab(56.13% 0.1535 -0.0831)
OKLCHoklch(56.13% 0.175 331.6)
XYZxyz(25.6629, 15.6374, 35.8421)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45A2 #45AC4F
analogous
#8245AC #AC45A2 #AC456F
triadic
#AC45A2 #A2AC45 #45A2AC
tetradic
#AC45A2 #AC8245 #45AC4F #456FAC
square
#AC45A2 #AC8245 #45AC4F #456FAC
split-complementary
#AC45A2 #6FAC45 #45AC82
monochromatic
#552250 #803379 #AC45A2 #C46BBB #D596CF

Accessibility & contrast

On white

5.09
#AC45A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AC45A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45A2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45A2#FFFFFF#000000##FFFFFF
##AC45A21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#B34E6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac45a2;
/* rgb */ color: rgb(172, 69, 162);
/* oklch */ color: oklch(56.1% 0.175 331.6);
Tailwind
colors: {
  custom: {
    50: '#c77fbe',
    500: '#ac45a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac45a2;
$custom-light: #c77fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45a2",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 305.825,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.17453,
    "h": 331.6
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#AC45A2
secondary
#8CC191
accent
#D36155
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AC45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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