#AC40BD#AC40BD

#AC40BD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.205 H 322.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC40BD
RGBrgb(172, 64, 189)
HSLhsl(292, 49%, 50%)
HSVhsv(292, 66%, 74%)
CMYKcmyk(9%, 66.1%, 0%, 25.9%)
CIE-LABlab(47.12, 60.74, -45.23)
CIE-LCHlch(47.12, 75.73, 323.33°)
OKLaboklab(57.04% 0.1612 -0.1261)
OKLCHoklch(57.04% 0.205 322)
XYZxyz(28.0310, 16.1131, 49.7679)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC40BD #51BD40
analogous
#6E40BD #AC40BD #BD4090
triadic
#AC40BD #BDAC40 #40BDAC
tetradic
#AC40BD #BD6E40 #51BD40 #4090BD
square
#AC40BD #BD6E40 #51BD40 #4090BD
split-complementary
#AC40BD #90BD40 #40BD6E
monochromatic
#592162 #82318F #AC40BD #C06DCD #D49ADD

Accessibility & contrast

On white

4.97
#AC40BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AC40BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC40BD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC40BD#FFFFFF#000000##FFFFFF
##AC40BD1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#AE5579
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac40bd;
/* rgb */ color: rgb(172, 64, 189);
/* oklch */ color: oklch(57.0% 0.205 322.0);
Tailwind
colors: {
  custom: {
    50: '#c87dd1',
    500: '#ac40bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac40bd;
$custom-light: #c87dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac40bd",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 291.84,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.20468,
    "h": 322
  },
  "luminance": 0.16112
}

Semantic roles & 50–950 ramp

primary
#AC40BD
secondary
#98C990
accent
#D94F62
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AC40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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