#AA4EAB#AA4EAB

#AA4EAB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.167 H 327.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA4EAB
RGBrgb(170, 78, 171)
HSLhsl(299, 37%, 49%)
HSVhsv(299, 54%, 67%)
CMYKcmyk(0.6%, 54.4%, 0%, 32.9%)
CIE-LABlab(48.18, 50.63, -33.04)
CIE-LCHlch(48.18, 60.46, 326.87°)
OKLaboklab(57.45% 0.1404 -0.0909)
OKLCHoklch(57.45% 0.167 327.1)
XYZxyz(26.6522, 16.9366, 40.3855)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EAB #4FAB4E
analogous
#7C4EAB #AA4EAB #AB4E7E
triadic
#AA4EAB #ABAA4E #4EABAA
tetradic
#AA4EAB #AB7C4E #4FAB4E #4E7EAB
square
#AA4EAB #AB7C4E #4FAB4E #4E7EAB
split-complementary
#AA4EAB #7EAB4E #4EAB7C
monochromatic
#562857 #803B81 #AA4EAB #C076C0 #D3A0D4

Accessibility & contrast

On white

4.79
#AA4EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AA4EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EAB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EAB#FFFFFF#000000##FFFFFF
##AA4EAB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#6177A8
Tritanopia (blue-blind)
#AF5975
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4eab;
/* rgb */ color: rgb(170, 78, 171);
/* oklch */ color: oklch(57.4% 0.167 327.1);
Tailwind
colors: {
  custom: {
    50: '#c684c4',
    500: '#aa4eab',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eab;
$custom-light: #c684c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eab",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 299.355,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.1673,
    "h": 327.1
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#AA4EAB
secondary
#95C194
accent
#CD5A5C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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