#AC45BF#AC45BF

#AC45BF is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.200 H 321.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AC45BF
RGBrgb(172, 69, 191)
HSLhsl(291, 49%, 51%)
HSVhsv(291, 64%, 75%)
CMYKcmyk(9.9%, 63.9%, 0%, 25.1%)
CIE-LABlab(47.99, 59.00, -45.01)
CIE-LCHlch(47.99, 74.20, 322.66°)
OKLaboklab(57.71% 0.1555 -0.1255)
OKLCHoklch(57.71% 0.2 321.1)
XYZxyz(28.5443, 16.7899, 51.0174)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45BF #58BF45
analogous
#6F45BF #AC45BF #BF4595
triadic
#AC45BF #BFAC45 #45BFAC
tetradic
#AC45BF #BF6F45 #58BF45 #4595BF
square
#AC45BF #BF6F45 #58BF45 #4595BF
split-complementary
#AC45BF #95BF45 #45BF6F
monochromatic
#5C2366 #853394 #AC45BF #C073CF #D5A0DE

Accessibility & contrast

On white

4.82
#AC45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AC45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45BF#FFFFFF#000000##FFFFFF
##AC45BF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256BC3
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#AD597C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac45bf;
/* rgb */ color: rgb(172, 69, 191);
/* oklch */ color: oklch(57.7% 0.200 321.1);
Tailwind
colors: {
  custom: {
    50: '#c880d3',
    500: '#ac45bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac45bf;
$custom-light: #c880d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45bf",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 290.656,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57705,
    "c": 0.19983,
    "h": 321.1
  },
  "luminance": 0.16788
}

Semantic roles & 50–950 ramp

primary
#AC45BF
secondary
#9DCB95
accent
#D84F65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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