#AC27AE#AC27AE

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

Color values

HEX#AC27AE
RGBrgb(172, 39, 174)
HSLhsl(299, 63%, 42%)
HSVhsv(299, 78%, 68%)
CMYKcmyk(1.1%, 77.6%, 0%, 31.8%)
CIE-LABlab(43.18, 66.88, -42.69)
CIE-LCHlch(43.18, 79.34, 327.45°)
OKLaboklab(53.94% 0.1857 -0.1185)
OKLCHoklch(53.94% 0.22 327.4)
XYZxyz(25.3784, 13.2795, 41.2627)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27AE #29AE27
analogous
#6927AE #AC27AE #AE276D
triadic
#AC27AE #AEAC27 #27AEAC
tetradic
#AC27AE #AE6927 #29AE27 #276DAE
square
#AC27AE #AE6927 #29AE27 #276DAE
split-complementary
#AC27AE #6DAE27 #27AE69
monochromatic
#49114A #7B1C7C #AC27AE #D23ED4 #DD70DF

Accessibility & contrast

On white

5.74
#AC27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AC27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27AE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27AE#FFFFFF#000000##FFFFFF
##AC27AE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4C6CAB
Tritanopia (blue-blind)
#B13F6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac27ae;
/* rgb */ color: rgb(172, 39, 174);
/* oklch */ color: oklch(53.9% 0.220 327.4);
Tailwind
colors: {
  custom: {
    50: '#c971c7',
    500: '#ac27ae',
    950: '#000000',
  },
}
SCSS
$custom: #ac27ae;
$custom-light: #c971c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27ae",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 299.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53942,
    "c": 0.22031,
    "h": 327.4
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#AC27AE
secondary
#6CC66B
accent
#E64144
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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