#AA27A5#AA27A5

#AA27A5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.213 H 329.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AA27A5
RGBrgb(170, 39, 165)
HSLhsl(302, 63%, 41%)
HSVhsv(302, 77%, 67%)
CMYKcmyk(0%, 77.1%, 2.9%, 33.3%)
CIE-LABlab(42.33, 65.01, -38.71)
CIE-LCHlch(42.33, 75.67, 329.23°)
OKLaboklab(53.11% 0.1838 -0.107)
OKLCHoklch(53.11% 0.213 329.8)
XYZxyz(24.0945, 12.7156, 36.7753)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A5 #27AA2C
analogous
#6D27AA #AA27A5 #AA2763
triadic
#AA27A5 #A5AA27 #27A5AA
tetradic
#AA27A5 #AA6D27 #27AA2C #2763AA
square
#AA27A5 #AA6D27 #27AA2C #2763AA
split-complementary
#AA27A5 #63AA27 #27AA6D
monochromatic
#461044 #781C75 #AA27A5 #D23CCD #DE6ED9

Accessibility & contrast

On white

5.93
#AA27A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA27A5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A5#FFFFFF#000000##FFFFFF
##AA27A51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A8
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#B03A65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa27a5;
/* rgb */ color: rgb(170, 39, 165);
/* oklch */ color: oklch(53.1% 0.213 329.8);
Tailwind
colors: {
  custom: {
    50: '#c771c0',
    500: '#aa27a5',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a5;
$custom-light: #c771c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a5",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 302.29,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53107,
    "c": 0.21268,
    "h": 329.8
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#AA27A5
secondary
#69C46C
accent
#E64842
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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