#AA4AB1#AA4AB1

#AA4AB1 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.179 H 324.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AA4AB1
RGBrgb(170, 74, 177)
HSLhsl(296, 41%, 49%)
HSVhsv(296, 58%, 69%)
CMYKcmyk(4%, 58.2%, 0%, 30.6%)
CIE-LABlab(47.78, 53.63, -37.20)
CIE-LCHlch(47.78, 65.27, 325.25°)
OKLaboklab(57.25% 0.1464 -0.1029)
OKLCHoklch(57.25% 0.179 324.9)
XYZxyz(26.9615, 16.6194, 43.3742)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4AB1 #51B14A
analogous
#774AB1 #AA4AB1 #B14A85
triadic
#AA4AB1 #B1AA4A #4AB1AA
tetradic
#AA4AB1 #B1774A #51B14A #4A85B1
square
#AA4AB1 #B1774A #51B14A #4A85B1
split-complementary
#AA4AB1 #85B14A #4AB177
monochromatic
#57265B #813886 #AA4AB1 #BF74C5 #D39FD7

Accessibility & contrast

On white

4.86
#AA4AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AA4AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4AB1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4AB1#FFFFFF#000000##FFFFFF
##AA4AB11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB4
Deuteranopia (green-blind)
#5C75AE
Tritanopia (blue-blind)
#AE5877
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4ab1;
/* rgb */ color: rgb(170, 74, 177);
/* oklch */ color: oklch(57.2% 0.179 324.9);
Tailwind
colors: {
  custom: {
    50: '#c682c9',
    500: '#aa4ab1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ab1;
$custom-light: #c682c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ab1",
  "rgb": {
    "r": 170,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 295.922,
    "s": 41.036,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.17892,
    "h": 324.9
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#AA4AB1
secondary
#97C393
accent
#D1575F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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