#AC27A8#AC27A8

#AC27A8 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.216 H 329.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AC27A8
RGBrgb(172, 39, 168)
HSLhsl(302, 63%, 41%)
HSVhsv(302, 77%, 67%)
CMYKcmyk(0%, 77.3%, 2.3%, 32.5%)
CIE-LABlab(42.84, 65.91, -39.67)
CIE-LCHlch(42.84, 76.93, 328.96°)
OKLaboklab(53.59% 0.1858 -0.1098)
OKLCHoklch(53.59% 0.216 329.4)
XYZxyz(24.8065, 13.0508, 38.2507)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A8 #27AC2B
analogous
#6E27AC #AC27A8 #AC2766
triadic
#AC27A8 #A8AC27 #27A8AC
tetradic
#AC27A8 #AC6E27 #27AC2B #2766AC
square
#AC27A8 #AC6E27 #27AC2B #2766AC
split-complementary
#AC27A8 #66AC27 #27AC6E
monochromatic
#481047 #7A1C77 #AC27A8 #D33DCF #DE6FDB

Accessibility & contrast

On white

5.82
#AC27A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC27A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27A8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A8#FFFFFF#000000##FFFFFF
##AC27A81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5AAB
Deuteranopia (green-blind)
#506BA5
Tritanopia (blue-blind)
#B23B67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac27a8;
/* rgb */ color: rgb(172, 39, 168);
/* oklch */ color: oklch(53.6% 0.216 329.4);
Tailwind
colors: {
  custom: {
    50: '#c971c2',
    500: '#ac27a8',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a8;
$custom-light: #c971c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a8",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 301.805,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.21585,
    "h": 329.4
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#AC27A8
secondary
#6AC56C
accent
#E64742
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC27A8

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

Preview Lab → · Contrast checker → · Palette generator →

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