#AA27A1#AA27A1

#AA27A1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.210 H 331.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA27A1
RGBrgb(170, 39, 161)
HSLhsl(304, 63%, 41%)
HSVhsv(304, 77%, 67%)
CMYKcmyk(0%, 77.1%, 5.3%, 33.3%)
CIE-LABlab(42.11, 64.39, -36.67)
CIE-LCHlch(42.11, 74.09, 330.34°)
OKLaboklab(52.88% 0.1838 -0.1011)
OKLCHoklch(52.88% 0.21 331.2)
XYZxyz(23.7361, 12.5722, 34.8879)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A1 #27AA30
analogous
#7127AA #AA27A1 #AA275F
triadic
#AA27A1 #A1AA27 #27A1AA
tetradic
#AA27A1 #AA7127 #27AA30 #275FAA
square
#AA27A1 #AA7127 #27AA30 #275FAA
split-complementary
#AA27A1 #5FAA27 #27AA71
monochromatic
#461043 #781C72 #AA27A1 #D23CC8 #DE6ED6

Accessibility & contrast

On white

5.98
#AA27A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA27A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27A1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A1#FFFFFF#000000##FFFFFF
##AA27A11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A4
Deuteranopia (green-blind)
#526A9E
Tritanopia (blue-blind)
#B13863
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa27a1;
/* rgb */ color: rgb(170, 39, 161);
/* oklch */ color: oklch(52.9% 0.210 331.2);
Tailwind
colors: {
  custom: {
    50: '#c771bd',
    500: '#aa27a1',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a1;
$custom-light: #c771bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a1",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 304.122,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52879,
    "c": 0.20974,
    "h": 331.2
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#AA27A1
secondary
#69C46F
accent
#E64D42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA27A1

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

Preview Lab → · Contrast checker → · Palette generator →

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