#AA34A5#AA34A5

#AA34A5 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.2% C 0.199 H 329.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AA34A5
RGBrgb(170, 52, 165)
HSLhsl(303, 53%, 44%)
HSVhsv(303, 69%, 67%)
CMYKcmyk(0%, 69.4%, 2.9%, 33.3%)
CIE-LABlab(43.83, 60.74, -36.34)
CIE-LCHlch(43.83, 70.78, 329.11°)
OKLaboklab(54.18% 0.1716 -0.1003)
OKLCHoklch(54.18% 0.199 329.7)
XYZxyz(24.5969, 13.7205, 36.9428)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34A5 #34AA39
analogous
#7434AA #AA34A5 #AA346A
triadic
#AA34A5 #A5AA34 #34A5AA
tetradic
#AA34A5 #AA7434 #34AA39 #346AAA
square
#AA34A5 #AA7434 #34AA39 #346AAA
split-complementary
#AA34A5 #6AAA34 #34AA74
monochromatic
#4C174A #7B2678 #AA34A5 #CA51C5 #D880D4

Accessibility & contrast

On white

5.61
#AA34A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AA34A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34A5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34A5#FFFFFF#000000##FFFFFF
##AA34A51.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#B04369
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa34a5;
/* rgb */ color: rgb(170, 52, 165);
/* oklch */ color: oklch(54.2% 0.199 329.7);
Tailwind
colors: {
  custom: {
    50: '#c776c0',
    500: '#aa34a5',
    950: '#000000',
  },
}
SCSS
$custom: #aa34a5;
$custom-light: #c776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34a5",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 302.542,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.1987,
    "h": 329.7
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#AA34A5
secondary
#78C17B
accent
#DD514B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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