#AA27A3#AA27A3

#AA27A3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.211 H 330.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA27A3
RGBrgb(170, 39, 163)
HSLhsl(303, 63%, 41%)
HSVhsv(303, 77%, 67%)
CMYKcmyk(0%, 77.1%, 4.1%, 33.3%)
CIE-LABlab(42.22, 64.70, -37.69)
CIE-LCHlch(42.22, 74.88, 329.78°)
OKLaboklab(52.99% 0.1838 -0.1041)
OKLCHoklch(52.99% 0.211 330.5)
XYZxyz(23.9139, 12.6433, 35.8241)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A3 #27AA2E
analogous
#6F27AA #AA27A3 #AA2761
triadic
#AA27A3 #A3AA27 #27A3AA
tetradic
#AA27A3 #AA6F27 #27AA2E #2761AA
square
#AA27A3 #AA6F27 #27AA2E #2761AA
split-complementary
#AA27A3 #61AA27 #27AA6F
monochromatic
#461044 #781C73 #AA27A3 #D23CCA #DE6ED8

Accessibility & contrast

On white

5.95
#AA27A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA27A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27A3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A3#FFFFFF#000000##FFFFFF
##AA27A31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A6
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#B13964
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa27a3;
/* rgb */ color: rgb(170, 39, 163);
/* oklch */ color: oklch(53.0% 0.211 330.5);
Tailwind
colors: {
  custom: {
    50: '#c771bf',
    500: '#aa27a3',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a3;
$custom-light: #c771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a3",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 303.206,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52993,
    "c": 0.2112,
    "h": 330.5
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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