#AC46BA#AC46BA

#AC46BA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.194 H 322.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AC46BA
RGBrgb(172, 70, 186)
HSLhsl(293, 46%, 50%)
HSVhsv(293, 62%, 73%)
CMYKcmyk(7.5%, 62.4%, 0%, 27.1%)
CIE-LABlab(47.88, 57.62, -42.28)
CIE-LCHlch(47.88, 71.47, 323.73°)
OKLaboklab(57.53% 0.1542 -0.1176)
OKLCHoklch(57.53% 0.194 322.7)
XYZxyz(28.0655, 16.6976, 48.1895)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46BA #54BA46
analogous
#7246BA #AC46BA #BA468E
triadic
#AC46BA #BAAC46 #46BAAC
tetradic
#AC46BA #BA7246 #54BA46 #468EBA
square
#AC46BA #BA7246 #54BA46 #468EBA
split-complementary
#AC46BA #8EBA46 #46BA72
monochromatic
#5A2461 #83358E #AC46BA #C073CB #D49FDB

Accessibility & contrast

On white

4.84
#AC46BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AC46BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC46BA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46BA#FFFFFF#000000##FFFFFF
##AC46BA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#AE587A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac46ba;
/* rgb */ color: rgb(172, 70, 186);
/* oklch */ color: oklch(57.5% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#c880cf',
    500: '#ac46ba',
    950: '#000000',
  },
}
SCSS
$custom: #ac46ba;
$custom-light: #c880cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46ba",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 292.759,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.19392,
    "h": 322.7
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#AC46BA
secondary
#9AC894
accent
#D55262
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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