#AA4E9E#AA4E9E

#AA4E9E is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.8% C 0.156 H 332.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AA4E9E
RGBrgb(170, 78, 158)
HSLhsl(308, 37%, 49%)
HSVhsv(308, 54%, 67%)
CMYKcmyk(0%, 54.1%, 7.1%, 33.3%)
CIE-LABlab(47.58, 48.32, -26.30)
CIE-LCHlch(47.58, 55.02, 331.44°)
OKLaboklab(56.81% 0.1384 -0.0716)
OKLCHoklch(56.81% 0.156 332.6)
XYZxyz(25.4735, 16.4652, 34.1775)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4E9E #4EAA5A
analogous
#884EAA #AA4E9E #AA4E70
triadic
#AA4E9E #9EAA4E #4E9EAA
tetradic
#AA4E9E #AA884E #4EAA5A #4E70AA
square
#AA4E9E #AA884E #4EAA5A #4E70AA
split-complementary
#AA4E9E #70AA4E #4EAA88
monochromatic
#562850 #803B77 #AA4E9E #C075B6 #D39FCC

Accessibility & contrast

On white

4.89
#AA4E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AA4E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4E9E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4E9E#FFFFFF#000000##FFFFFF
##AA4E9E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C69A1
Deuteranopia (green-blind)
#67769B
Tritanopia (blue-blind)
#B1556F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4e9e;
/* rgb */ color: rgb(170, 78, 158);
/* oklch */ color: oklch(56.8% 0.156 332.6);
Tailwind
colors: {
  custom: {
    50: '#c684bb',
    500: '#aa4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #aa4e9e;
$custom-light: #c684bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4e9e",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 307.826,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56806,
    "c": 0.15586,
    "h": 332.6
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#AA4E9E
secondary
#94C09A
accent
#CD6A5B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AA4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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