#AC27A0#AC27A0

#AC27A0 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.210 H 332.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AC27A0
RGBrgb(172, 39, 160)
HSLhsl(305, 63%, 41%)
HSVhsv(305, 77%, 67%)
CMYKcmyk(0%, 77.3%, 7%, 32.5%)
CIE-LABlab(42.40, 64.66, -35.58)
CIE-LCHlch(42.40, 73.81, 331.18°)
OKLaboklab(53.14% 0.1858 -0.0979)
OKLCHoklch(53.14% 0.21 332.2)
XYZxyz(24.0840, 12.7618, 34.4457)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27A0 #27AC33
analogous
#7627AC #AC27A0 #AC275E
triadic
#AC27A0 #A0AC27 #27A0AC
tetradic
#AC27A0 #AC7627 #27AC33 #275EAC
square
#AC27A0 #AC7627 #27AC33 #275EAC
split-complementary
#AC27A0 #5EAC27 #27AC76
monochromatic
#481043 #7A1C72 #AC27A0 #D33DC6 #DE6FD4

Accessibility & contrast

On white

5.91
#AC27A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC27A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27A0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27A0#FFFFFF#000000##FFFFFF
##AC27A01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#546B9D
Tritanopia (blue-blind)
#B33762
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac27a0;
/* rgb */ color: rgb(172, 39, 160);
/* oklch */ color: oklch(53.1% 0.210 332.2);
Tailwind
colors: {
  custom: {
    50: '#c971bc',
    500: '#ac27a0',
    950: '#000000',
  },
}
SCSS
$custom: #ac27a0;
$custom-light: #c971bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27a0",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 305.414,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.21001,
    "h": 332.2
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#AC27A0
secondary
#6AC572
accent
#E65142
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC27A0

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

Preview Lab → · Contrast checker → · Palette generator →

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