#AA4EA9#AA4EA9

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

Color values

HEX#AA4EA9
RGBrgb(170, 78, 169)
HSLhsl(301, 37%, 49%)
HSVhsv(301, 54%, 67%)
CMYKcmyk(0%, 54.1%, 0.6%, 33.3%)
CIE-LABlab(48.08, 50.26, -32.02)
CIE-LCHlch(48.08, 59.59, 327.50°)
OKLaboklab(57.34% 0.1402 -0.088)
OKLCHoklch(57.34% 0.165 327.9)
XYZxyz(26.4630, 16.8610, 39.3891)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EA9 #4EAA4F
analogous
#7D4EAA #AA4EA9 #AA4E7B
triadic
#AA4EA9 #A9AA4E #4EA9AA
tetradic
#AA4EA9 #AA7D4E #4EAA4F #4E7BAA
square
#AA4EA9 #AA7D4E #4EAA4F #4E7BAA
split-complementary
#AA4EA9 #7BAA4E #4EAA7D
monochromatic
#562856 #803B7F #AA4EA9 #C075BF #D39FD3

Accessibility & contrast

On white

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

On black

4.37
#AA4EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AA4EA9#FFFFFF#000000##FFFFFF
##AA4EA91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAC
Deuteranopia (green-blind)
#6276A6
Tritanopia (blue-blind)
#AF5874
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4ea9;
/* rgb */ color: rgb(170, 78, 169);
/* oklch */ color: oklch(57.3% 0.165 327.9);
Tailwind
colors: {
  custom: {
    50: '#c684c3',
    500: '#aa4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ea9;
$custom-light: #c684c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ea9",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 300.652,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.16549,
    "h": 327.9
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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