#AA27A6#AA27A6

#AA27A6 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.213 H 329.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AA27A6
RGBrgb(170, 39, 166)
HSLhsl(302, 63%, 41%)
HSVhsv(302, 77%, 67%)
CMYKcmyk(0%, 77.1%, 2.4%, 33.3%)
CIE-LABlab(42.39, 65.17, -39.22)
CIE-LCHlch(42.39, 76.06, 328.96°)
OKLaboklab(53.16% 0.1838 -0.1085)
OKLCHoklch(53.16% 0.213 329.4)
XYZxyz(24.1859, 12.7521, 37.2566)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A6 #27AA2B
analogous
#6C27AA #AA27A6 #AA2764
triadic
#AA27A6 #A6AA27 #27A6AA
tetradic
#AA27A6 #AA6C27 #27AA2B #2764AA
square
#AA27A6 #AA6C27 #27AA2B #2764AA
split-complementary
#AA27A6 #64AA27 #27AA6C
monochromatic
#461045 #781C75 #AA27A6 #D23CCE #DE6EDA

Accessibility & contrast

On white

5.92
#AA27A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA27A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27A6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A6#FFFFFF#000000##FFFFFF
##AA27A61.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E59A9
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#B03B66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa27a6;
/* rgb */ color: rgb(170, 39, 166);
/* oklch */ color: oklch(53.2% 0.213 329.4);
Tailwind
colors: {
  custom: {
    50: '#c771c1',
    500: '#aa27a6',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a6;
$custom-light: #c771c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a6",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 301.832,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.21342,
    "h": 329.4
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#AA27A6
secondary
#69C46B
accent
#E64742
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA27A6

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

Preview Lab → · Contrast checker → · Palette generator →

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