#AC27AA#AC27AA

#AC27AA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.217 H 328.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AC27AA
RGBrgb(172, 39, 170)
HSLhsl(301, 63%, 41%)
HSVhsv(301, 77%, 67%)
CMYKcmyk(0%, 77.3%, 1.2%, 32.5%)
CIE-LABlab(42.95, 66.23, -40.68)
CIE-LCHlch(42.95, 77.73, 328.44°)
OKLaboklab(53.71% 0.1858 -0.1127)
OKLCHoklch(53.71% 0.217 328.8)
XYZxyz(24.9942, 13.1259, 39.2395)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27AA #27AC29
analogous
#6C27AC #AC27AA #AC2768
triadic
#AC27AA #AAAC27 #27AAAC
tetradic
#AC27AA #AC6C27 #27AC29 #2768AC
square
#AC27AA #AC6C27 #27AC29 #2768AC
split-complementary
#AC27AA #68AC27 #27AC6C
monochromatic
#481047 #7A1C79 #AC27AA #D33DD1 #DE6FDD

Accessibility & contrast

On white

5.79
#AC27AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC27AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27AA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27AA#FFFFFF#000000##FFFFFF
##AC27AA1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065AAD
Deuteranopia (green-blind)
#4F6BA7
Tritanopia (blue-blind)
#B23C68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac27aa;
/* rgb */ color: rgb(172, 39, 170);
/* oklch */ color: oklch(53.7% 0.217 328.8);
Tailwind
colors: {
  custom: {
    50: '#c971c4',
    500: '#ac27aa',
    950: '#000000',
  },
}
SCSS
$custom: #ac27aa;
$custom-light: #c971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27aa",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 300.902,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53705,
    "c": 0.21733,
    "h": 328.8
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#AC27AA
secondary
#6AC56B
accent
#E64442
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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