#AC27AD#AC27AD

#AC27AD is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.220 H 327.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AC27AD
RGBrgb(172, 39, 173)
HSLhsl(300, 63%, 42%)
HSVhsv(300, 77%, 68%)
CMYKcmyk(0.6%, 77.5%, 0%, 32.2%)
CIE-LABlab(43.12, 66.71, -42.19)
CIE-LCHlch(43.12, 78.94, 327.69°)
OKLaboklab(53.88% 0.1857 -0.1171)
OKLCHoklch(53.88% 0.22 327.8)
XYZxyz(25.2813, 13.2407, 40.7512)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27AD #28AD27
analogous
#6927AD #AC27AD #AD276B
triadic
#AC27AD #ADAC27 #27ADAC
tetradic
#AC27AD #AD6927 #28AD27 #276BAD
square
#AC27AD #AD6927 #28AD27 #276BAD
split-complementary
#AC27AD #6BAD27 #27AD69
monochromatic
#491049 #7A1C7B #AC27AD #D23ED3 #DE70DF

Accessibility & contrast

On white

5.76
#AC27AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC27AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27AD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27AD#FFFFFF#000000##FFFFFF
##AC27AD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#B13E6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac27ad;
/* rgb */ color: rgb(172, 39, 173);
/* oklch */ color: oklch(53.9% 0.220 327.8);
Tailwind
colors: {
  custom: {
    50: '#c971c6',
    500: '#ac27ad',
    950: '#000000',
  },
}
SCSS
$custom: #ac27ad;
$custom-light: #c971c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27ad",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 299.552,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.21957,
    "h": 327.8
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

primary
#AC27AD
secondary
#6BC66A
accent
#E64243
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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