#AA4EB9#AA4EB9

#AA4EB9 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.180 H 321.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AA4EB9
RGBrgb(170, 78, 185)
HSLhsl(292, 43%, 52%)
HSVhsv(292, 58%, 73%)
CMYKcmyk(8.1%, 57.8%, 0%, 27.5%)
CIE-LABlab(48.88, 53.26, -40.12)
CIE-LCHlch(48.88, 66.68, 323.00°)
OKLaboklab(58.19% 0.1418 -0.1114)
OKLCHoklch(58.19% 0.18 321.8)
XYZxyz(28.0580, 17.4990, 47.7892)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EB9 #5DB94E
analogous
#754EB9 #AA4EB9 #B94E93
triadic
#AA4EB9 #B9AA4E #4EB9AA
tetradic
#AA4EB9 #B9754E #5DB94E #4E93B9
square
#AA4EB9 #B9754E #5DB94E #4E93B9
split-complementary
#AA4EB9 #93B94E #4EB975
monochromatic
#5C2865 #843991 #AA4EB9 #BF7ACA #D4A6DC

Accessibility & contrast

On white

4.67
#AA4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AA4EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EB9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EB9#FFFFFF#000000##FFFFFF
##AA4EB91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBC
Deuteranopia (green-blind)
#5A78B6
Tritanopia (blue-blind)
#AC5E7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa4eb9;
/* rgb */ color: rgb(170, 78, 185);
/* oklch */ color: oklch(58.2% 0.180 321.8);
Tailwind
colors: {
  custom: {
    50: '#c684ce',
    500: '#aa4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eb9;
$custom-light: #c684ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eb9",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 291.589,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.18035,
    "h": 321.8
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#AA4EB9
secondary
#A0C99A
accent
#D35566
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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