#AA4E9B#AA4E9B

#AA4E9B is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.7% C 0.153 H 334.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AA4E9B
RGBrgb(170, 78, 155)
HSLhsl(310, 37%, 49%)
HSVhsv(310, 54%, 67%)
CMYKcmyk(0%, 54.1%, 8.8%, 33.3%)
CIE-LABlab(47.45, 47.81, -24.73)
CIE-LCHlch(47.45, 53.82, 332.65°)
OKLaboklab(56.67% 0.1379 -0.0672)
OKLCHoklch(56.67% 0.153 334)
XYZxyz(25.2184, 16.3631, 32.8341)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4E9B #4EAA5D
analogous
#8B4EAA #AA4E9B #AA4E6D
triadic
#AA4E9B #9BAA4E #4E9BAA
tetradic
#AA4E9B #AA8B4E #4EAA5D #4E6DAA
square
#AA4E9B #AA8B4E #4EAA5D #4E6DAA
split-complementary
#AA4E9B #6DAA4E #4EAA8B
monochromatic
#56284E #803B75 #AA4E9B #C075B4 #D39FCB

Accessibility & contrast

On white

4.92
#AA4E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AA4E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4E9B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4E9B#FFFFFF#000000##FFFFFF
##AA4E9B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D689E
Deuteranopia (green-blind)
#687598
Tritanopia (blue-blind)
#B1546D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4e9b;
/* rgb */ color: rgb(170, 78, 155);
/* oklch */ color: oklch(56.7% 0.153 334.0);
Tailwind
colors: {
  custom: {
    50: '#c684b8',
    500: '#aa4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #aa4e9b;
$custom-light: #c684b8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4e9b",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 309.783,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.15335,
    "h": 334
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#AA4E9B
secondary
#94C09B
accent
#CD6D5B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AA4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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