#AA27A2#AA27A2

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

Color values

HEX#AA27A2
RGBrgb(170, 39, 162)
HSLhsl(304, 63%, 41%)
HSVhsv(304, 77%, 67%)
CMYKcmyk(0%, 77.1%, 4.7%, 33.3%)
CIE-LABlab(42.17, 64.54, -37.18)
CIE-LCHlch(42.17, 74.48, 330.06°)
OKLaboklab(52.94% 0.1838 -0.1026)
OKLCHoklch(52.94% 0.21 330.8)
XYZxyz(23.8246, 12.6077, 35.3541)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27A2 #27AA2F
analogous
#7027AA #AA27A2 #AA2760
triadic
#AA27A2 #A2AA27 #27A2AA
tetradic
#AA27A2 #AA7027 #27AA2F #2760AA
square
#AA27A2 #AA7027 #27AA2F #2760AA
split-complementary
#AA27A2 #60AA27 #27AA70
monochromatic
#461043 #781C73 #AA27A2 #D23CC9 #DE6ED7

Accessibility & contrast

On white

5.96
#AA27A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA27A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27A2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27A2#FFFFFF#000000##FFFFFF
##AA27A21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#B13963
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa27a2;
/* rgb */ color: rgb(170, 39, 162);
/* oklch */ color: oklch(52.9% 0.210 330.8);
Tailwind
colors: {
  custom: {
    50: '#c771be',
    500: '#aa27a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa27a2;
$custom-light: #c771be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27a2",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 303.664,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.21047,
    "h": 330.8
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#AA27A2
secondary
#69C46E
accent
#E64C42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA27A2

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

Preview Lab → · Contrast checker → · Palette generator →

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