#AC45BB#AC45BB

#AC45BB is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.196 H 322.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AC45BB
RGBrgb(172, 69, 187)
HSLhsl(292, 46%, 50%)
HSVhsv(292, 63%, 73%)
CMYKcmyk(8%, 63.1%, 0%, 26.7%)
CIE-LABlab(47.77, 58.25, -43.03)
CIE-LCHlch(47.77, 72.42, 323.54°)
OKLaboklab(57.47% 0.1554 -0.1197)
OKLCHoklch(57.47% 0.196 322.4)
XYZxyz(28.1101, 16.6162, 48.7307)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45BB #54BB45
analogous
#7145BB #AC45BB #BB458F
triadic
#AC45BB #BBAC45 #45BBAC
tetradic
#AC45BB #BB7145 #54BB45 #458FBB
square
#AC45BB #BB7145 #54BB45 #458FBB
split-complementary
#AC45BB #8FBB45 #45BB71
monochromatic
#5A2462 #83348F #AC45BB #C072CB #D49FDC

Accessibility & contrast

On white

4.86
#AC45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AC45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45BB#FFFFFF#000000##FFFFFF
##AC45BB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#AE577A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac45bb;
/* rgb */ color: rgb(172, 69, 187);
/* oklch */ color: oklch(57.5% 0.196 322.4);
Tailwind
colors: {
  custom: {
    50: '#c880d0',
    500: '#ac45bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac45bb;
$custom-light: #c880d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45bb",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 292.373,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57474,
    "c": 0.19621,
    "h": 322.4
  },
  "luminance": 0.16615
}

Semantic roles & 50–950 ramp

primary
#AC45BB
secondary
#9AC894
accent
#D65263
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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