#AC27A7#AC27A7

#AC27A7 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.215 H 329.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AC27A7
RGBrgb(172, 39, 167)
HSLhsl(302, 63%, 41%)
HSVhsv(302, 77%, 67%)
CMYKcmyk(0%, 77.3%, 2.9%, 32.5%)
CIE-LABlab(42.78, 65.75, -39.17)
CIE-LCHlch(42.78, 76.53, 329.22°)
OKLaboklab(53.53% 0.1859 -0.1083)
OKLCHoklch(53.53% 0.215 329.8)
XYZxyz(24.7137, 13.0137, 37.7620)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A7 #27AC2C
analogous
#6F27AC #AC27A7 #AC2765
triadic
#AC27A7 #A7AC27 #27A7AC
tetradic
#AC27A7 #AC6F27 #27AC2C #2765AC
square
#AC27A7 #AC6F27 #27AC2C #2765AC
split-complementary
#AC27A7 #65AC27 #27AC6F
monochromatic
#481046 #7A1C77 #AC27A7 #D33DCD #DE6FDA

Accessibility & contrast

On white

5.83
#AC27A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC27A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27A7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A7#FFFFFF#000000##FFFFFF
##AC27A71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105AAA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#B23B66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac27a7;
/* rgb */ color: rgb(172, 39, 167);
/* oklch */ color: oklch(53.5% 0.215 329.8);
Tailwind
colors: {
  custom: {
    50: '#c971c1',
    500: '#ac27a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a7;
$custom-light: #c971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a7",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 302.256,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.21511,
    "h": 329.8
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#AC27A7
secondary
#6AC56D
accent
#E64842
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC27A7

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

Preview Lab → · Contrast checker → · Palette generator →

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