#AC27A2#AC27A2

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

Color values

HEX#AC27A2
RGBrgb(172, 39, 162)
HSLhsl(305, 63%, 41%)
HSVhsv(305, 77%, 67%)
CMYKcmyk(0%, 77.3%, 5.8%, 32.5%)
CIE-LABlab(42.51, 64.97, -36.61)
CIE-LCHlch(42.51, 74.58, 330.60°)
OKLaboklab(53.25% 0.1858 -0.1009)
OKLCHoklch(53.25% 0.211 331.5)
XYZxyz(24.2604, 12.8323, 35.3746)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A2 #27AC31
analogous
#7427AC #AC27A2 #AC2760
triadic
#AC27A2 #A2AC27 #27A2AC
tetradic
#AC27A2 #AC7427 #27AC31 #2760AC
square
#AC27A2 #AC7427 #27AC31 #2760AC
split-complementary
#AC27A2 #60AC27 #27AC74
monochromatic
#481044 #7A1C73 #AC27A2 #D33DC8 #DE6FD6

Accessibility & contrast

On white

5.89
#AC27A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC27A2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A2#FFFFFF#000000##FFFFFF
##AC27A21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#B33863
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac27a2;
/* rgb */ color: rgb(172, 39, 162);
/* oklch */ color: oklch(53.2% 0.211 331.5);
Tailwind
colors: {
  custom: {
    50: '#c971be',
    500: '#ac27a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a2;
$custom-light: #c971be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a2",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 304.511,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.21145,
    "h": 331.5
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#AC27A2
secondary
#6AC571
accent
#E64E42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC27A2

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

Preview Lab → · Contrast checker → · Palette generator →

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