#AC46BD#AC46BD

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

Color values

HEX#AC46BD
RGBrgb(172, 70, 189)
HSLhsl(291, 47%, 51%)
HSVhsv(291, 63%, 74%)
CMYKcmyk(9%, 63%, 0%, 25.9%)
CIE-LABlab(48.04, 58.18, -43.77)
CIE-LCHlch(48.04, 72.81, 323.05°)
OKLaboklab(57.7% 0.1543 -0.1219)
OKLCHoklch(57.7% 0.197 321.7)
XYZxyz(28.3877, 16.8265, 49.8868)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46BD #57BD46
analogous
#7146BD #AC46BD #BD4692
triadic
#AC46BD #BDAC46 #46BDAC
tetradic
#AC46BD #BD7146 #57BD46 #4692BD
square
#AC46BD #BD7146 #57BD46 #4692BD
split-complementary
#AC46BD #92BD46 #46BD71
monochromatic
#5B2465 #843492 #AC46BD #C073CD #D4A0DD

Accessibility & contrast

On white

4.81
#AC46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC46BD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46BD#FFFFFF#000000##FFFFFF
##AC46BD1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC1
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#AE597B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac46bd;
/* rgb */ color: rgb(172, 70, 189);
/* oklch */ color: oklch(57.7% 0.197 321.7);
Tailwind
colors: {
  custom: {
    50: '#c880d1',
    500: '#ac46bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac46bd;
$custom-light: #c880d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46bd",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 291.429,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.19664,
    "h": 321.7
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#AC46BD
secondary
#9DCA95
accent
#D75164
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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