#AA27A8#AA27A8

#AA27A8 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.215 H 328.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AA27A8
RGBrgb(170, 39, 168)
HSLhsl(301, 63%, 41%)
HSVhsv(301, 77%, 67%)
CMYKcmyk(0%, 77.1%, 1.2%, 33.3%)
CIE-LABlab(42.50, 65.49, -40.23)
CIE-LCHlch(42.50, 76.86, 328.44°)
OKLaboklab(53.28% 0.1838 -0.1114)
OKLCHoklch(53.28% 0.215 328.8)
XYZxyz(24.3707, 12.8261, 38.2303)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A8 #27AA29
analogous
#6A27AA #AA27A8 #AA2766
triadic
#AA27A8 #A8AA27 #27A8AA
tetradic
#AA27A8 #AA6A27 #27AA29 #2766AA
square
#AA27A8 #AA6A27 #27AA29 #2766AA
split-complementary
#AA27A8 #66AA27 #27AA6A
monochromatic
#461046 #781C77 #AA27A8 #D23CD0 #DE6EDC

Accessibility & contrast

On white

5.89
#AA27A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA27A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27A8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A8#FFFFFF#000000##FFFFFF
##AA27A81.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0859AB
Deuteranopia (green-blind)
#4E6AA5
Tritanopia (blue-blind)
#B03C67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa27a8;
/* rgb */ color: rgb(170, 39, 168);
/* oklch */ color: oklch(53.3% 0.215 328.8);
Tailwind
colors: {
  custom: {
    50: '#c771c2',
    500: '#aa27a8',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a8;
$custom-light: #c771c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a8",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 300.916,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.21491,
    "h": 328.8
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#AA27A8
secondary
#69C46A
accent
#E64542
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AA27A8

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

Preview Lab → · Contrast checker → · Palette generator →

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