#AA34A2#AA34A2

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

Color values

HEX#AA34A2
RGBrgb(170, 52, 162)
HSLhsl(304, 53%, 44%)
HSVhsv(304, 69%, 67%)
CMYKcmyk(0%, 69.4%, 4.7%, 33.3%)
CIE-LABlab(43.67, 60.25, -34.80)
CIE-LCHlch(43.67, 69.58, 329.99°)
OKLaboklab(54.02% 0.1714 -0.0958)
OKLCHoklch(54.02% 0.196 330.8)
XYZxyz(24.3271, 13.6125, 35.5216)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34A2 #34AA3C
analogous
#7734AA #AA34A2 #AA3467
triadic
#AA34A2 #A2AA34 #34A2AA
tetradic
#AA34A2 #AA7734 #34AA3C #3467AA
square
#AA34A2 #AA7734 #34AA3C #3467AA
split-complementary
#AA34A2 #67AA34 #34AA77
monochromatic
#4C1749 #7B2675 #AA34A2 #CA51C2 #D880D2

Accessibility & contrast

On white

5.64
#AA34A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA34A2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34A2#FFFFFF#000000##FFFFFF
##AA34A21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#B14267
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa34a2;
/* rgb */ color: rgb(170, 52, 162);
/* oklch */ color: oklch(54.0% 0.196 330.8);
Tailwind
colors: {
  custom: {
    50: '#c776be',
    500: '#aa34a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa34a2;
$custom-light: #c776be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34a2",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 304.068,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.19636,
    "h": 330.8
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#AA34A2
secondary
#78C17D
accent
#DD554B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA34A2

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

Preview Lab → · Contrast checker → · Palette generator →

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