#AA4EA0#AA4EA0

#AA4EA0 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.9% C 0.158 H 331.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AA4EA0
RGBrgb(170, 78, 160)
HSLhsl(307, 37%, 49%)
HSVhsv(307, 54%, 67%)
CMYKcmyk(0%, 54.1%, 5.9%, 33.3%)
CIE-LABlab(47.67, 48.67, -27.35)
CIE-LCHlch(47.67, 55.83, 330.66°)
OKLaboklab(56.9% 0.1388 -0.0746)
OKLCHoklch(56.9% 0.158 331.7)
XYZxyz(25.6470, 16.5346, 35.0915)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EA0 #4EAA58
analogous
#864EAA #AA4EA0 #AA4E72
triadic
#AA4EA0 #A0AA4E #4EA0AA
tetradic
#AA4EA0 #AA864E #4EAA58 #4E72AA
square
#AA4EA0 #AA864E #4EAA58 #4E72AA
split-complementary
#AA4EA0 #72AA4E #4EAA86
monochromatic
#562851 #803B79 #AA4EA0 #C075B8 #D39FCD

Accessibility & contrast

On white

4.88
#AA4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AA4EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EA0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EA0#FFFFFF#000000##FFFFFF
##AA4EA01.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A3
Deuteranopia (green-blind)
#66769D
Tritanopia (blue-blind)
#B05570
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4ea0;
/* rgb */ color: rgb(170, 78, 160);
/* oklch */ color: oklch(56.9% 0.158 331.7);
Tailwind
colors: {
  custom: {
    50: '#c684bc',
    500: '#aa4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ea0;
$custom-light: #c684bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ea0",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 306.522,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.15757,
    "h": 331.7
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#AA4EA0
secondary
#94C099
accent
#CD675B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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