#AA4E9F#AA4E9F

#AA4E9F is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.9% C 0.157 H 332.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AA4E9F
RGBrgb(170, 78, 159)
HSLhsl(307, 37%, 49%)
HSVhsv(307, 54%, 67%)
CMYKcmyk(0%, 54.1%, 6.5%, 33.3%)
CIE-LABlab(47.62, 48.49, -26.83)
CIE-LCHlch(47.62, 55.42, 331.05°)
OKLaboklab(56.85% 0.1386 -0.0731)
OKLCHoklch(56.85% 0.157 332.2)
XYZxyz(25.5599, 16.4997, 34.6327)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4E9F #4EAA59
analogous
#874EAA #AA4E9F #AA4E71
triadic
#AA4E9F #9FAA4E #4E9FAA
tetradic
#AA4E9F #AA874E #4EAA59 #4E71AA
square
#AA4E9F #AA874E #4EAA59 #4E71AA
split-complementary
#AA4E9F #71AA4E #4EAA87
monochromatic
#562851 #803B78 #AA4E9F #C075B7 #D39FCD

Accessibility & contrast

On white

4.88
#AA4E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AA4E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4E9F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4E9F#FFFFFF#000000##FFFFFF
##AA4E9F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B69A2
Deuteranopia (green-blind)
#66769C
Tritanopia (blue-blind)
#B0556F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4e9f;
/* rgb */ color: rgb(170, 78, 159);
/* oklch */ color: oklch(56.9% 0.157 332.2);
Tailwind
colors: {
  custom: {
    50: '#c684bb',
    500: '#aa4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #aa4e9f;
$custom-light: #c684bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4e9f",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 307.174,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.15671,
    "h": 332.2
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#AA4E9F
secondary
#94C099
accent
#CD685B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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