#AA27A7#AA27A7

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

Color values

HEX#AA27A7
RGBrgb(170, 39, 167)
HSLhsl(301, 63%, 41%)
HSVhsv(301, 77%, 67%)
CMYKcmyk(0%, 77.1%, 1.8%, 33.3%)
CIE-LABlab(42.44, 65.33, -39.73)
CIE-LCHlch(42.44, 76.46, 328.70°)
OKLaboklab(53.22% 0.1838 -0.11)
OKLCHoklch(53.22% 0.214 329.1)
XYZxyz(24.2779, 12.7890, 37.7416)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A7 #27AA2A
analogous
#6B27AA #AA27A7 #AA2765
triadic
#AA27A7 #A7AA27 #27A7AA
tetradic
#AA27A7 #AA6B27 #27AA2A #2765AA
square
#AA27A7 #AA6B27 #27AA2A #2765AA
split-complementary
#AA27A7 #65AA27 #27AA6B
monochromatic
#461045 #781C76 #AA27A7 #D23CCF #DE6EDB

Accessibility & contrast

On white

5.90
#AA27A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA27A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27A7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A7#FFFFFF#000000##FFFFFF
##AA27A71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa27a7;
/* rgb */ color: rgb(170, 39, 167);
/* oklch */ color: oklch(53.2% 0.214 329.1);
Tailwind
colors: {
  custom: {
    50: '#c771c1',
    500: '#aa27a7',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a7;
$custom-light: #c771c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a7",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 301.374,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.21416,
    "h": 329.1
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA27A7

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

Preview Lab → · Contrast checker → · Palette generator →

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