#AC46A7#AC46A7

#AC46A7 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.177 H 329.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AC46A7
RGBrgb(172, 70, 167)
HSLhsl(303, 42%, 47%)
HSVhsv(303, 59%, 67%)
CMYKcmyk(0%, 59.3%, 2.9%, 32.5%)
CIE-LABlab(46.90, 54.20, -32.67)
CIE-LCHlch(46.90, 63.28, 328.92°)
OKLaboklab(56.5% 0.1528 -0.0898)
OKLCHoklch(56.5% 0.177 329.6)
XYZxyz(26.1782, 15.9427, 38.2502)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46A7 #46AC4B
analogous
#7E46AC #AC46A7 #AC4674
triadic
#AC46A7 #A7AC46 #46A7AC
tetradic
#AC46A7 #AC7E46 #46AC4B #4674AC
square
#AC46A7 #AC7E46 #46AC4B #4674AC
split-complementary
#AC46A7 #74AC46 #46AC7E
monochromatic
#552353 #81347D #AC46A7 #C36CBF #D598D2

Accessibility & contrast

On white

5.01
#AC46A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AC46A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC46A7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46A7#FFFFFF#000000##FFFFFF
##AC46A71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#B25170
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac46a7;
/* rgb */ color: rgb(172, 70, 167);
/* oklch */ color: oklch(56.5% 0.177 329.6);
Tailwind
colors: {
  custom: {
    50: '#c780c1',
    500: '#ac46a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac46a7;
$custom-light: #c780c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46a7",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 302.941,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.17723,
    "h": 329.6
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#AC46A7
secondary
#8DC18F
accent
#D25C56
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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