#AC40BB#AC40BB

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

Color values

HEX#AC40BB
RGBrgb(172, 64, 187)
HSLhsl(293, 49%, 49%)
HSVhsv(293, 66%, 73%)
CMYKcmyk(8%, 65.8%, 0%, 26.7%)
CIE-LABlab(47.01, 60.37, -44.24)
CIE-LCHlch(47.01, 74.84, 323.76°)
OKLaboklab(56.92% 0.1612 -0.1232)
OKLCHoklch(56.92% 0.203 322.6)
XYZxyz(27.8154, 16.0268, 48.6324)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC40BB #4FBB40
analogous
#6F40BB #AC40BB #BB408D
triadic
#AC40BB #BBAC40 #40BBAC
tetradic
#AC40BB #BB6F40 #4FBB40 #408DBB
square
#AC40BB #BB6F40 #4FBB40 #408DBB
split-complementary
#AC40BB #8DBB40 #40BB6F
monochromatic
#582160 #82308D #AC40BB #C16CCD #D499DC

Accessibility & contrast

On white

4.99
#AC40BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC40BB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC40BB#FFFFFF#000000##FFFFFF
##AC40BB1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BF
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#AE5478
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac40bb;
/* rgb */ color: rgb(172, 64, 187);
/* oklch */ color: oklch(56.9% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#c87dd0',
    500: '#ac40bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac40bb;
$custom-light: #c87dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac40bb",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 292.683,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.20292,
    "h": 322.6
  },
  "luminance": 0.16025
}

Semantic roles & 50–950 ramp

primary
#AC40BB
secondary
#96C88F
accent
#D94F60
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AC40BB

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

Preview Lab → · Contrast checker → · Palette generator →

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