#AA27A0#AA27A0

#AA27A0 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.209 H 331.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AA27A0
RGBrgb(170, 39, 160)
HSLhsl(305, 63%, 41%)
HSVhsv(305, 77%, 67%)
CMYKcmyk(0%, 77.1%, 5.9%, 33.3%)
CIE-LABlab(42.06, 64.23, -36.15)
CIE-LCHlch(42.06, 73.71, 330.63°)
OKLaboklab(52.82% 0.1838 -0.0996)
OKLCHoklch(52.82% 0.209 331.5)
XYZxyz(23.6483, 12.5371, 34.4253)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A0 #27AA31
analogous
#7227AA #AA27A0 #AA275E
triadic
#AA27A0 #A0AA27 #27A0AA
tetradic
#AA27A0 #AA7227 #27AA31 #275EAA
square
#AA27A0 #AA7227 #27AA31 #275EAA
split-complementary
#AA27A0 #5EAA27 #27AA72
monochromatic
#461042 #781C71 #AA27A0 #D23CC7 #DE6ED5

Accessibility & contrast

On white

5.99
#AA27A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA27A0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A0#FFFFFF#000000##FFFFFF
##AA27A01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A3
Deuteranopia (green-blind)
#526A9D
Tritanopia (blue-blind)
#B13862
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa27a0;
/* rgb */ color: rgb(170, 39, 160);
/* oklch */ color: oklch(52.8% 0.209 331.5);
Tailwind
colors: {
  custom: {
    50: '#c770bc',
    500: '#aa27a0',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a0;
$custom-light: #c770bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a0",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 304.58,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.20901,
    "h": 331.5
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#AA27A0
secondary
#69C470
accent
#E64F42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA27A0

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

Preview Lab → · Contrast checker → · Palette generator →

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