#AC27AB#AC27AB

#AC27AB is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.218 H 328.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC27AB
RGBrgb(172, 39, 171)
HSLhsl(300, 63%, 41%)
HSVhsv(300, 77%, 67%)
CMYKcmyk(0%, 77.3%, 0.6%, 32.5%)
CIE-LABlab(43.01, 66.39, -41.19)
CIE-LCHlch(43.01, 78.13, 328.18°)
OKLaboklab(53.76% 0.1858 -0.1142)
OKLCHoklch(53.76% 0.218 328.4)
XYZxyz(25.0892, 13.1639, 39.7396)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27AB #27AC28
analogous
#6B27AC #AC27AB #AC2769
triadic
#AC27AB #ABAC27 #27ABAC
tetradic
#AC27AB #AC6B27 #27AC28 #2769AC
square
#AC27AB #AC6B27 #27AC28 #2769AC
split-complementary
#AC27AB #69AC27 #27AC6B
monochromatic
#481048 #7A1C79 #AC27AB #D33DD2 #DE6FDE

Accessibility & contrast

On white

5.78
#AC27AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC27AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27AB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27AB#FFFFFF#000000##FFFFFF
##AC27AB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025BAE
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#B23D68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac27ab;
/* rgb */ color: rgb(172, 39, 171);
/* oklch */ color: oklch(53.8% 0.218 328.4);
Tailwind
colors: {
  custom: {
    50: '#c971c4',
    500: '#ac27ab',
    950: '#000000',
  },
}
SCSS
$custom: #ac27ab;
$custom-light: #c971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27ab",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 300.451,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.21807,
    "h": 328.4
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#AC27AB
secondary
#6AC56A
accent
#E64342
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC27AB

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

Preview Lab → · Contrast checker → · Palette generator →

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