#AC27A6#AC27A6

#AC27A6 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.214 H 330.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC27A6
RGBrgb(172, 39, 166)
HSLhsl(303, 63%, 41%)
HSVhsv(303, 77%, 67%)
CMYKcmyk(0%, 77.3%, 3.5%, 32.5%)
CIE-LABlab(42.73, 65.60, -38.66)
CIE-LCHlch(42.73, 76.14, 329.49°)
OKLaboklab(53.47% 0.1859 -0.1068)
OKLCHoklch(53.47% 0.214 330.1)
XYZxyz(24.6216, 12.9768, 37.2770)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A6 #27AC2D
analogous
#7027AC #AC27A6 #AC2764
triadic
#AC27A6 #A6AC27 #27A6AC
tetradic
#AC27A6 #AC7027 #27AC2D #2764AC
square
#AC27A6 #AC7027 #27AC2D #2764AC
split-complementary
#AC27A6 #64AC27 #27AC70
monochromatic
#481046 #7A1C76 #AC27A6 #D33DCC #DE6FD9

Accessibility & contrast

On white

5.84
#AC27A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC27A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27A6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A6#FFFFFF#000000##FFFFFF
##AC27A61.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#B33A66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac27a6;
/* rgb */ color: rgb(172, 39, 166);
/* oklch */ color: oklch(53.5% 0.214 330.1);
Tailwind
colors: {
  custom: {
    50: '#c971c1',
    500: '#ac27a6',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a6;
$custom-light: #c971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a6",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 302.707,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53473,
    "c": 0.21437,
    "h": 330.1
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#AC27A6
secondary
#6AC56E
accent
#E64942
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC27A6

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

Preview Lab → · Contrast checker → · Palette generator →

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