#AC27B1#AC27B1

#AC27B1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.223 H 326.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AC27B1
RGBrgb(172, 39, 177)
HSLhsl(298, 64%, 42%)
HSVhsv(298, 78%, 69%)
CMYKcmyk(2.8%, 78%, 0%, 30.6%)
CIE-LABlab(43.36, 67.37, -44.19)
CIE-LCHlch(43.36, 80.57, 326.74°)
OKLaboklab(54.12% 0.1856 -0.1229)
OKLCHoklch(54.12% 0.223 326.5)
XYZxyz(25.6741, 13.3978, 42.8202)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27B1 #2CB127
analogous
#6727B1 #AC27B1 #B12771
triadic
#AC27B1 #B1AC27 #27B1AC
tetradic
#AC27B1 #B16727 #2CB127 #2771B1
square
#AC27B1 #B16727 #2CB127 #2771B1
split-complementary
#AC27B1 #71B127 #27B167
monochromatic
#4B114D #7B1C7F #AC27B1 #D040D5 #DC72E0

Accessibility & contrast

On white

5.71
#AC27B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC27B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27B1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27B1#FFFFFF#000000##FFFFFF
##AC27B11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4A6CAE
Tritanopia (blue-blind)
#B1406C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac27b1;
/* rgb */ color: rgb(172, 39, 177);
/* oklch */ color: oklch(54.1% 0.223 326.5);
Tailwind
colors: {
  custom: {
    50: '#c971c9',
    500: '#ac27b1',
    950: '#000000',
  },
}
SCSS
$custom: #ac27b1;
$custom-light: #c971c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27b1",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 297.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.22258,
    "h": 326.5
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#AC27B1
secondary
#70C76D
accent
#E74147
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC27B1

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

Preview Lab → · Contrast checker → · Palette generator →

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