#AA27AE#AA27AE

#AA27AE is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.219 H 326.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AA27AE
RGBrgb(170, 39, 174)
HSLhsl(298, 63%, 42%)
HSVhsv(298, 78%, 68%)
CMYKcmyk(2.3%, 77.6%, 0%, 31.8%)
CIE-LABlab(42.85, 66.47, -43.25)
CIE-LCHlch(42.85, 79.30, 326.95°)
OKLaboklab(53.64% 0.1836 -0.1202)
OKLCHoklch(53.64% 0.219 326.8)
XYZxyz(24.9426, 13.0549, 41.2423)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27AE #2BAE27
analogous
#6727AE #AA27AE #AE276F
triadic
#AA27AE #AEAA27 #27AEAA
tetradic
#AA27AE #AE6727 #2BAE27 #276FAE
square
#AA27AE #AE6727 #2BAE27 #276FAE
split-complementary
#AA27AE #6FAE27 #27AE67
monochromatic
#48114A #791C7C #AA27AE #CF3ED4 #DC70DF

Accessibility & contrast

On white

5.82
#AA27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AA27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27AE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27AE#FFFFFF#000000##FFFFFF
##AA27AE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#AF3F6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa27ae;
/* rgb */ color: rgb(170, 39, 174);
/* oklch */ color: oklch(53.6% 0.219 326.8);
Tailwind
colors: {
  custom: {
    50: '#c771c7',
    500: '#aa27ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa27ae;
$custom-light: #c771c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27ae",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 298.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.21942,
    "h": 326.8
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#AA27AE
secondary
#6EC66B
accent
#E64146
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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