#AC27A4#AC27A4

#AC27A4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.213 H 330.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC27A4
RGBrgb(172, 39, 164)
HSLhsl(304, 63%, 41%)
HSVhsv(304, 77%, 67%)
CMYKcmyk(0%, 77.3%, 4.7%, 32.5%)
CIE-LABlab(42.62, 65.28, -37.64)
CIE-LCHlch(42.62, 75.35, 330.04°)
OKLaboklab(53.36% 0.1859 -0.1039)
OKLCHoklch(53.36% 0.213 330.8)
XYZxyz(24.4396, 12.9040, 36.3183)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A4 #27AC2F
analogous
#7227AC #AC27A4 #AC2762
triadic
#AC27A4 #A4AC27 #27A4AC
tetradic
#AC27A4 #AC7227 #27AC2F #2762AC
square
#AC27A4 #AC7227 #27AC2F #2762AC
split-complementary
#AC27A4 #62AC27 #27AC72
monochromatic
#481045 #7A1C74 #AC27A4 #D33DCA #DE6FD8

Accessibility & contrast

On white

5.87
#AC27A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC27A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27A4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A4#FFFFFF#000000##FFFFFF
##AC27A41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#B33965
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac27a4;
/* rgb */ color: rgb(172, 39, 164);
/* oklch */ color: oklch(53.4% 0.213 330.8);
Tailwind
colors: {
  custom: {
    50: '#c971bf',
    500: '#ac27a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a4;
$custom-light: #c971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a4",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 303.609,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.21291,
    "h": 330.8
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#AC27A4
secondary
#6AC56F
accent
#E64C42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC27A4

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

Preview Lab → · Contrast checker → · Palette generator →

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