#AA27A9#AA27A9

#AA27A9 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.216 H 328.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AA27A9
RGBrgb(170, 39, 169)
HSLhsl(300, 63%, 41%)
HSVhsv(300, 77%, 67%)
CMYKcmyk(0%, 77.1%, 0.6%, 33.3%)
CIE-LABlab(42.56, 65.65, -40.74)
CIE-LCHlch(42.56, 77.27, 328.18°)
OKLaboklab(53.34% 0.1837 -0.1129)
OKLCHoklch(53.34% 0.216 328.4)
XYZxyz(24.4643, 12.8635, 38.7228)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A9 #27AA28
analogous
#6927AA #AA27A9 #AA2767
triadic
#AA27A9 #A9AA27 #27A9AA
tetradic
#AA27A9 #AA6927 #27AA28 #2767AA
square
#AA27A9 #AA6927 #27AA28 #2767AA
split-complementary
#AA27A9 #67AA27 #27AA69
monochromatic
#461046 #781C78 #AA27A9 #D23CD1 #DE6EDD

Accessibility & contrast

On white

5.88
#AA27A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA27A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27A9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A9#FFFFFF#000000##FFFFFF
##AA27A91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAC
Deuteranopia (green-blind)
#4D6AA6
Tritanopia (blue-blind)
#B03D67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa27a9;
/* rgb */ color: rgb(170, 39, 169);
/* oklch */ color: oklch(53.3% 0.216 328.4);
Tailwind
colors: {
  custom: {
    50: '#c771c3',
    500: '#aa27a9',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a9;
$custom-light: #c771c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a9",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 300.458,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.21566,
    "h": 328.4
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#AA27A9
secondary
#69C469
accent
#E64342
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AA27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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