#AC27A1#AC27A1

#AC27A1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.211 H 331.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC27A1
RGBrgb(172, 39, 161)
HSLhsl(305, 63%, 41%)
HSVhsv(305, 77%, 67%)
CMYKcmyk(0%, 77.3%, 6.4%, 32.5%)
CIE-LABlab(42.46, 64.82, -36.10)
CIE-LCHlch(42.46, 74.19, 330.89°)
OKLaboklab(53.19% 0.1858 -0.0994)
OKLCHoklch(53.19% 0.211 331.9)
XYZxyz(24.1718, 12.7969, 34.9083)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A1 #27AC32
analogous
#7527AC #AC27A1 #AC275F
triadic
#AC27A1 #A1AC27 #27A1AC
tetradic
#AC27A1 #AC7527 #27AC32 #275FAC
square
#AC27A1 #AC7527 #27AC32 #275FAC
split-complementary
#AC27A1 #5FAC27 #27AC75
monochromatic
#481044 #7A1C72 #AC27A1 #D33DC7 #DE6FD5

Accessibility & contrast

On white

5.90
#AC27A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC27A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27A1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A1#FFFFFF#000000##FFFFFF
##AC27A11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#546B9E
Tritanopia (blue-blind)
#B33863
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac27a1;
/* rgb */ color: rgb(172, 39, 161);
/* oklch */ color: oklch(53.2% 0.211 331.9);
Tailwind
colors: {
  custom: {
    50: '#c971bd',
    500: '#ac27a1',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a1;
$custom-light: #c971bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a1",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 304.962,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.21073,
    "h": 331.9
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#AC27A1
secondary
#6AC571
accent
#E64F42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC27A1

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

Preview Lab → · Contrast checker → · Palette generator →

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