#AC40BF#AC40BF

#AC40BF is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.206 H 321.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AC40BF
RGBrgb(172, 64, 191)
HSLhsl(291, 50%, 50%)
HSVhsv(291, 66%, 75%)
CMYKcmyk(9.9%, 66.5%, 0%, 25.1%)
CIE-LABlab(47.24, 61.11, -46.21)
CIE-LCHlch(47.24, 76.61, 322.90°)
OKLaboklab(57.16% 0.1612 -0.129)
OKLCHoklch(57.16% 0.206 321.3)
XYZxyz(28.2496, 16.2005, 50.9191)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC40BF #53BF40
analogous
#6D40BF #AC40BF #BF4092
triadic
#AC40BF #BFAC40 #40BFAC
tetradic
#AC40BF #BF6D40 #53BF40 #4092BF
square
#AC40BF #BF6D40 #53BF40 #4092BF
split-complementary
#AC40BF #92BF40 #40BF6D
monochromatic
#592163 #833191 #AC40BF #C06ECE #D49CDE

Accessibility & contrast

On white

4.95
#AC40BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AC40BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC40BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC40BF#FFFFFF#000000##FFFFFF
##AC40BF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#AE567A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac40bf;
/* rgb */ color: rgb(172, 64, 191);
/* oklch */ color: oklch(57.2% 0.206 321.3);
Tailwind
colors: {
  custom: {
    50: '#c87dd3',
    500: '#ac40bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac40bf;
$custom-light: #c87dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac40bf",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 291.024,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.20644,
    "h": 321.3
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#AC40BF
secondary
#99CA91
accent
#D94E63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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