#AA27A4#AA27A4

#AA27A4 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.212 H 330.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AA27A4
RGBrgb(170, 39, 164)
HSLhsl(303, 63%, 41%)
HSVhsv(303, 77%, 67%)
CMYKcmyk(0%, 77.1%, 3.5%, 33.3%)
CIE-LABlab(42.28, 64.86, -38.20)
CIE-LCHlch(42.28, 75.27, 329.50°)
OKLaboklab(53.05% 0.1838 -0.1055)
OKLCHoklch(53.05% 0.212 330.1)
XYZxyz(24.0038, 12.6793, 36.2979)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A4 #27AA2D
analogous
#6E27AA #AA27A4 #AA2762
triadic
#AA27A4 #A4AA27 #27A4AA
tetradic
#AA27A4 #AA6E27 #27AA2D #2762AA
square
#AA27A4 #AA6E27 #27AA2D #2762AA
split-complementary
#AA27A4 #62AA27 #27AA6E
monochromatic
#461044 #781C74 #AA27A4 #D23CCB #DE6ED9

Accessibility & contrast

On white

5.94
#AA27A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AA27A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27A4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A4#FFFFFF#000000##FFFFFF
##AA27A41.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#B03A64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa27a4;
/* rgb */ color: rgb(170, 39, 164);
/* oklch */ color: oklch(53.0% 0.212 330.1);
Tailwind
colors: {
  custom: {
    50: '#c771bf',
    500: '#aa27a4',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a4;
$custom-light: #c771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a4",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 302.748,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5305,
    "c": 0.21194,
    "h": 330.1
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#AA27A4
secondary
#69C46D
accent
#E64A42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA27A4

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

Preview Lab → · Contrast checker → · Palette generator →

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