#AC27A5#AC27A5

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

Color values

HEX#AC27A5
RGBrgb(172, 39, 165)
HSLhsl(303, 63%, 41%)
HSVhsv(303, 77%, 67%)
CMYKcmyk(0%, 77.3%, 4.1%, 32.5%)
CIE-LABlab(42.67, 65.44, -38.15)
CIE-LCHlch(42.67, 75.75, 329.76°)
OKLaboklab(53.42% 0.1859 -0.1053)
OKLCHoklch(53.42% 0.214 330.5)
XYZxyz(24.5302, 12.9403, 36.7958)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A5 #27AC2E
analogous
#7127AC #AC27A5 #AC2763
triadic
#AC27A5 #A5AC27 #27A5AC
tetradic
#AC27A5 #AC7127 #27AC2E #2763AC
square
#AC27A5 #AC7127 #27AC2E #2763AC
split-complementary
#AC27A5 #63AC27 #27AC71
monochromatic
#481045 #7A1C75 #AC27A5 #D33DCB #DE6FD8

Accessibility & contrast

On white

5.85
#AC27A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC27A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27A5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A5#FFFFFF#000000##FFFFFF
##AC27A51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#B33A65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac27a5;
/* rgb */ color: rgb(172, 39, 165);
/* oklch */ color: oklch(53.4% 0.214 330.5);
Tailwind
colors: {
  custom: {
    50: '#c971c0',
    500: '#ac27a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a5;
$custom-light: #c971c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a5",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 303.158,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.21364,
    "h": 330.5
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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