#AA27AC#AA27AC

#AA27AC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.218 H 327.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AA27AC
RGBrgb(170, 39, 172)
HSLhsl(299, 63%, 41%)
HSVhsv(299, 77%, 67%)
CMYKcmyk(1.2%, 77.3%, 0%, 32.5%)
CIE-LABlab(42.73, 66.14, -42.25)
CIE-LCHlch(42.73, 78.48, 327.43°)
OKLaboklab(53.52% 0.1837 -0.1173)
OKLCHoklch(53.52% 0.218 327.4)
XYZxyz(24.7491, 12.9774, 40.2231)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27AC #29AC27
analogous
#6827AC #AA27AC #AC276C
triadic
#AA27AC #ACAA27 #27ACAA
tetradic
#AA27AC #AC6827 #29AC27 #276CAC
square
#AA27AC #AC6827 #29AC27 #276CAC
split-complementary
#AA27AC #6CAC27 #27AC68
monochromatic
#471048 #791C7A #AA27AC #D13DD3 #DD6FDE

Accessibility & contrast

On white

5.84
#AA27AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AA27AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27AC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27AC#FFFFFF#000000##FFFFFF
##AA27AC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4B6BA9
Tritanopia (blue-blind)
#AF3E69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa27ac;
/* rgb */ color: rgb(170, 39, 172);
/* oklch */ color: oklch(53.5% 0.218 327.4);
Tailwind
colors: {
  custom: {
    50: '#c771c5',
    500: '#aa27ac',
    950: '#000000',
  },
}
SCSS
$custom: #aa27ac;
$custom-light: #c771c5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27ac",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 299.098,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.21791,
    "h": 327.4
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#AA27AC
secondary
#6BC56A
accent
#E64244
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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