#AA3A9D#AA3A9D

#AA3A9D is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.185 H 332.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA3A9D
RGBrgb(170, 58, 157)
HSLhsl(307, 49%, 45%)
HSVhsv(307, 66%, 67%)
CMYKcmyk(0%, 65.9%, 7.6%, 33.3%)
CIE-LABlab(44.24, 57.13, -30.91)
CIE-LCHlch(44.24, 64.95, 331.58°)
OKLaboklab(54.35% 0.1643 -0.0846)
OKLCHoklch(54.35% 0.185 332.7)
XYZxyz(24.1765, 14.0084, 33.3223)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3A9D #3AAA47
analogous
#7F3AAA #AA3A9D #AA3A65
triadic
#AA3A9D #9DAA3A #3A9DAA
tetradic
#AA3A9D #AA7F3A #3AAA47 #3A65AA
square
#AA3A9D #AA7F3A #3AAA47 #3A65AA
split-complementary
#AA3A9D #65AA3A #3AAA7F
monochromatic
#4F1B49 #7C2A73 #AA3A9D #C75ABA #D688CD

Accessibility & contrast

On white

5.52
#AA3A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AA3A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3A9D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3A9D#FFFFFF#000000##FFFFFF
##AA3A9D1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#B14466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa3a9d;
/* rgb */ color: rgb(170, 58, 157);
/* oklch */ color: oklch(54.4% 0.185 332.7);
Tailwind
colors: {
  custom: {
    50: '#c679ba',
    500: '#aa3a9d',
    950: '#000000',
  },
}
SCSS
$custom: #aa3a9d;
$custom-light: #c679ba;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3a9d",
  "rgb": {
    "r": 170,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 306.964,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.18482,
    "h": 332.7
  },
  "luminance": 0.14006
}

Semantic roles & 50–950 ramp

primary
#AA3A9D
secondary
#7FC187
accent
#D95F4F
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AA3A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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