#AC46AC#AC46AC

#AC46AC is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.182 H 327.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC46AC
RGBrgb(172, 70, 172)
HSLhsl(300, 42%, 47%)
HSVhsv(300, 59%, 67%)
CMYKcmyk(0%, 59.3%, 0%, 32.5%)
CIE-LABlab(47.15, 55.07, -35.24)
CIE-LCHlch(47.15, 65.38, 327.39°)
OKLaboklab(56.76% 0.1533 -0.0971)
OKLCHoklch(56.76% 0.182 327.6)
XYZxyz(26.6494, 16.1312, 40.7317)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46AC #46AC46
analogous
#7946AC #AC46AC #AC4679
triadic
#AC46AC #ACAC46 #46ACAC
tetradic
#AC46AC #AC7946 #46AC46 #4679AC
square
#AC46AC #AC7946 #46AC46 #4679AC
split-complementary
#AC46AC #79AC46 #46AC79
monochromatic
#552355 #813481 #AC46AC #C36CC3 #D598D5

Accessibility & contrast

On white

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

On black

4.23
#AC46AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AC46AC#FFFFFF#000000##FFFFFF
##AC46AC1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AF
Deuteranopia (green-blind)
#5D75A9
Tritanopia (blue-blind)
#B15372
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac46ac;
/* rgb */ color: rgb(172, 70, 172);
/* oklch */ color: oklch(56.8% 0.182 327.6);
Tailwind
colors: {
  custom: {
    50: '#c780c5',
    500: '#ac46ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac46ac;
$custom-light: #c780c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46ac",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.18152,
    "h": 327.6
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#AC46AC
secondary
#8DC18D
accent
#D25656
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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