#AA4EAA#AA4EAA

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

Color values

HEX#AA4EAA
RGBrgb(170, 78, 170)
HSLhsl(300, 37%, 49%)
HSVhsv(300, 54%, 67%)
CMYKcmyk(0%, 54.1%, 0%, 33.3%)
CIE-LABlab(48.13, 50.45, -32.53)
CIE-LCHlch(48.13, 60.02, 327.18°)
OKLaboklab(57.39% 0.1403 -0.0895)
OKLCHoklch(57.39% 0.166 327.5)
XYZxyz(26.5572, 16.8987, 39.8854)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EAA #4EAA4E
analogous
#7C4EAA #AA4EAA #AA4E7C
triadic
#AA4EAA #AAAA4E #4EAAAA
tetradic
#AA4EAA #AA7C4E #4EAA4E #4E7CAA
square
#AA4EAA #AA7C4E #4EAA4E #4E7CAA
split-complementary
#AA4EAA #7CAA4E #4EAA7C
monochromatic
#562856 #803B80 #AA4EAA #C075C0 #D39FD3

Accessibility & contrast

On white

4.80
#AA4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AA4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EAA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EAA#FFFFFF#000000##FFFFFF
##AA4EAA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#6277A7
Tritanopia (blue-blind)
#AF5875
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4eaa;
/* rgb */ color: rgb(170, 78, 170);
/* oklch */ color: oklch(57.4% 0.166 327.5);
Tailwind
colors: {
  custom: {
    50: '#c684c3',
    500: '#aa4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eaa;
$custom-light: #c684c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eaa",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.1664,
    "h": 327.5
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#AA4EAA
secondary
#94C094
accent
#CD5B5B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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