#AA27B0#AA27B0

#AA27B0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.221 H 326.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA27B0
RGBrgb(170, 39, 176)
HSLhsl(297, 64%, 42%)
HSVhsv(297, 78%, 69%)
CMYKcmyk(3.4%, 77.8%, 0%, 31%)
CIE-LABlab(42.96, 66.80, -44.25)
CIE-LCHlch(42.96, 80.12, 326.48°)
OKLaboklab(53.76% 0.1835 -0.1231)
OKLCHoklch(53.76% 0.221 326.1)
XYZxyz(25.1391, 13.1334, 42.2768)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27B0 #2DB027
analogous
#6527B0 #AA27B0 #B02772
triadic
#AA27B0 #B0AA27 #27B0AA
tetradic
#AA27B0 #B06527 #2DB027 #2772B0
square
#AA27B0 #B06527 #2DB027 #2772B0
split-complementary
#AA27B0 #72B027 #27B065
monochromatic
#49114C #7A1C7E #AA27B0 #CE40D5 #DB72E0

Accessibility & contrast

On white

5.79
#AA27B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AA27B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27B0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27B0#FFFFFF#000000##FFFFFF
##AA27B01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#496BAD
Tritanopia (blue-blind)
#AE406B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa27b0;
/* rgb */ color: rgb(170, 39, 176);
/* oklch */ color: oklch(53.8% 0.221 326.1);
Tailwind
colors: {
  custom: {
    50: '#c771c8',
    500: '#aa27b0',
    950: '#000000',
  },
}
SCSS
$custom: #aa27b0;
$custom-light: #c771c8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27b0",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 297.372,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.22095,
    "h": 326.1
  },
  "luminance": 0.13132
}

Semantic roles & 50–950 ramp

primary
#AA27B0
secondary
#70C76C
accent
#E74148
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA27B0

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

Preview Lab → · Contrast checker → · Palette generator →

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