#AA4E9D#AA4E9D

#AA4E9D is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.8% C 0.155 H 333.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AA4E9D
RGBrgb(170, 78, 157)
HSLhsl(308, 37%, 49%)
HSVhsv(308, 54%, 67%)
CMYKcmyk(0%, 54.1%, 7.6%, 33.3%)
CIE-LABlab(47.53, 48.15, -25.78)
CIE-LCHlch(47.53, 54.62, 331.84°)
OKLaboklab(56.76% 0.1382 -0.0702)
OKLCHoklch(56.76% 0.155 333.1)
XYZxyz(25.3877, 16.4309, 33.7260)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4E9D #4EAA5B
analogous
#894EAA #AA4E9D #AA4E6F
triadic
#AA4E9D #9DAA4E #4E9DAA
tetradic
#AA4E9D #AA894E #4EAA5B #4E6FAA
square
#AA4E9D #AA894E #4EAA5B #4E6FAA
split-complementary
#AA4E9D #6FAA4E #4EAA89
monochromatic
#562850 #803B76 #AA4E9D #C075B5 #D39FCC

Accessibility & contrast

On white

4.90
#AA4E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA4E9D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4E9D#FFFFFF#000000##FFFFFF
##AA4E9D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C68A0
Deuteranopia (green-blind)
#67769A
Tritanopia (blue-blind)
#B1546E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4e9d;
/* rgb */ color: rgb(170, 78, 157);
/* oklch */ color: oklch(56.8% 0.155 333.1);
Tailwind
colors: {
  custom: {
    50: '#c684ba',
    500: '#aa4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #aa4e9d;
$custom-light: #c684ba;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4e9d",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 308.478,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.15502,
    "h": 333.1
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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