#AC27A3#AC27A3

#AC27A3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.212 H 331.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC27A3
RGBrgb(172, 39, 163)
HSLhsl(304, 63%, 41%)
HSVhsv(304, 77%, 67%)
CMYKcmyk(0%, 77.3%, 5.2%, 32.5%)
CIE-LABlab(42.56, 65.13, -37.13)
CIE-LCHlch(42.56, 74.97, 330.31°)
OKLaboklab(53.3% 0.1858 -0.1024)
OKLCHoklch(53.3% 0.212 331.2)
XYZxyz(24.3496, 12.8680, 35.8446)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A3 #27AC30
analogous
#7327AC #AC27A3 #AC2761
triadic
#AC27A3 #A3AC27 #27A3AC
tetradic
#AC27A3 #AC7327 #27AC30 #2761AC
square
#AC27A3 #AC7327 #27AC30 #2761AC
split-complementary
#AC27A3 #61AC27 #27AC73
monochromatic
#481044 #7A1C74 #AC27A3 #D33DC9 #DE6FD7

Accessibility & contrast

On white

5.88
#AC27A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC27A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27A3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A3#FFFFFF#000000##FFFFFF
##AC27A31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A6
Deuteranopia (green-blind)
#536BA0
Tritanopia (blue-blind)
#B33964
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac27a3;
/* rgb */ color: rgb(172, 39, 163);
/* oklch */ color: oklch(53.3% 0.212 331.2);
Tailwind
colors: {
  custom: {
    50: '#c971bf',
    500: '#ac27a3',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a3;
$custom-light: #c971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a3",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 304.06,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.21218,
    "h": 331.2
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#AC27A3
secondary
#6AC570
accent
#E64D42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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