#AC40BA#AC40BA

#AC40BA is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.202 H 322.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC40BA
RGBrgb(172, 64, 186)
HSLhsl(293, 49%, 49%)
HSVhsv(293, 66%, 73%)
CMYKcmyk(7.5%, 65.6%, 0%, 27.1%)
CIE-LABlab(46.95, 60.18, -43.75)
CIE-LCHlch(46.95, 74.40, 323.99°)
OKLaboklab(56.86% 0.1612 -0.1218)
OKLCHoklch(56.86% 0.202 322.9)
XYZxyz(27.7087, 15.9842, 48.0706)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC40BA #4EBA40
analogous
#6F40BA #AC40BA #BA408B
triadic
#AC40BA #BAAC40 #40BAAC
tetradic
#AC40BA #BA6F40 #4EBA40 #408BBA
square
#AC40BA #BA6F40 #4EBA40 #408BBA
split-complementary
#AC40BA #8BBA40 #40BA6F
monochromatic
#58215F #82308C #AC40BA #C16BCC #D499DC

Accessibility & contrast

On white

5.00
#AC40BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AC40BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC40BA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC40BA#FFFFFF#000000##FFFFFF
##AC40BA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BE
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#AF5478
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac40ba;
/* rgb */ color: rgb(172, 64, 186);
/* oklch */ color: oklch(56.9% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#c87dcf',
    500: '#ac40ba',
    950: '#000000',
  },
}
SCSS
$custom: #ac40ba;
$custom-light: #c87dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac40ba",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 293.115,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.20204,
    "h": 322.9
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#AC40BA
secondary
#95C88E
accent
#D84F5F
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AC40BA

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

Preview Lab → · Contrast checker → · Palette generator →

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