#AA34A1#AA34A1

#AA34A1 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.196 H 331.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AA34A1
RGBrgb(170, 52, 161)
HSLhsl(305, 53%, 44%)
HSVhsv(305, 69%, 67%)
CMYKcmyk(0%, 69.4%, 5.3%, 33.3%)
CIE-LABlab(43.62, 60.09, -34.28)
CIE-LCHlch(43.62, 69.18, 330.29°)
OKLaboklab(53.96% 0.1714 -0.0943)
OKLCHoklch(53.96% 0.196 331.2)
XYZxyz(24.2385, 13.5771, 35.0553)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34A1 #34AA3D
analogous
#7834AA #AA34A1 #AA3466
triadic
#AA34A1 #A1AA34 #34A1AA
tetradic
#AA34A1 #AA7834 #34AA3D #3466AA
square
#AA34A1 #AA7834 #34AA3D #3466AA
split-complementary
#AA34A1 #66AA34 #34AA78
monochromatic
#4C1748 #7B2675 #AA34A1 #CA51C1 #D880D1

Accessibility & contrast

On white

5.65
#AA34A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AA34A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34A1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34A1#FFFFFF#000000##FFFFFF
##AA34A11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA4
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#B14166
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa34a1;
/* rgb */ color: rgb(170, 52, 161);
/* oklch */ color: oklch(54.0% 0.196 331.2);
Tailwind
colors: {
  custom: {
    50: '#c776bd',
    500: '#aa34a1',
    950: '#000000',
  },
}
SCSS
$custom: #aa34a1;
$custom-light: #c776bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34a1",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 304.576,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.19558,
    "h": 331.2
  },
  "luminance": 0.13575
}

Semantic roles & 50–950 ramp

primary
#AA34A1
secondary
#78C17E
accent
#DD564B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA34A1

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

Preview Lab → · Contrast checker → · Palette generator →

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