#AA4EA6#AA4EA6

#AA4EA6 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.2% C 0.163 H 329.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AA4EA6
RGBrgb(170, 78, 166)
HSLhsl(303, 37%, 49%)
HSVhsv(303, 54%, 67%)
CMYKcmyk(0%, 54.1%, 2.4%, 33.3%)
CIE-LABlab(47.94, 49.73, -30.47)
CIE-LCHlch(47.94, 58.32, 328.50°)
OKLaboklab(57.19% 0.1397 -0.0835)
OKLCHoklch(57.19% 0.163 329.1)
XYZxyz(26.1846, 16.7496, 37.9228)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EA6 #4EAA52
analogous
#804EAA #AA4EA6 #AA4E78
triadic
#AA4EA6 #A6AA4E #4EA6AA
tetradic
#AA4EA6 #AA804E #4EAA52 #4E78AA
square
#AA4EA6 #AA804E #4EAA52 #4E78AA
split-complementary
#AA4EA6 #78AA4E #4EAA80
monochromatic
#562854 #803B7D #AA4EA6 #C075BD #D39FD1

Accessibility & contrast

On white

4.83
#AA4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AA4EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EA6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EA6#FFFFFF#000000##FFFFFF
##AA4EA61.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#6476A3
Tritanopia (blue-blind)
#AF5773
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4ea6;
/* rgb */ color: rgb(170, 78, 166);
/* oklch */ color: oklch(57.2% 0.163 329.1);
Tailwind
colors: {
  custom: {
    50: '#c684c0',
    500: '#aa4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ea6;
$custom-light: #c684c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ea6",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 302.609,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.16281,
    "h": 329.1
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#AA4EA6
secondary
#94C096
accent
#CD605B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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