#AC27AC#AC27AC

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

Color values

HEX#AC27AC
RGBrgb(172, 39, 172)
HSLhsl(300, 63%, 41%)
HSVhsv(300, 77%, 67%)
CMYKcmyk(0%, 77.3%, 0%, 32.5%)
CIE-LABlab(43.07, 66.55, -41.69)
CIE-LCHlch(43.07, 78.53, 327.93°)
OKLaboklab(53.82% 0.1858 -0.1156)
OKLCHoklch(53.82% 0.219 328.1)
XYZxyz(25.1849, 13.2021, 40.2435)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27AC #27AC27
analogous
#6A27AC #AC27AC #AC276A
triadic
#AC27AC #ACAC27 #27ACAC
tetradic
#AC27AC #AC6A27 #27AC27 #276AAC
square
#AC27AC #AC6A27 #27AC27 #276AAC
split-complementary
#AC27AC #6AAC27 #27AC6A
monochromatic
#481048 #7A1C7A #AC27AC #D33DD3 #DE6FDE

Accessibility & contrast

On white

5.77
#AC27AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AC27AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27AC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27AC#FFFFFF#000000##FFFFFF
##AC27AC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#B23E69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac27ac;
/* rgb */ color: rgb(172, 39, 172);
/* oklch */ color: oklch(53.8% 0.219 328.1);
Tailwind
colors: {
  custom: {
    50: '#c971c5',
    500: '#ac27ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac27ac;
$custom-light: #c971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27ac",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.21882,
    "h": 328.1
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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