#AA34B6#AA34B6

#AA34B6 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.212 H 323.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AA34B6
RGBrgb(170, 52, 182)
HSLhsl(294, 56%, 46%)
HSVhsv(294, 71%, 71%)
CMYKcmyk(6.6%, 71.4%, 0%, 28.6%)
CIE-LABlab(44.77, 63.65, -44.89)
CIE-LCHlch(44.77, 77.89, 324.80°)
OKLaboklab(55.17% 0.1716 -0.1251)
OKLCHoklch(55.17% 0.212 323.9)
XYZxyz(26.2483, 14.3810, 45.6402)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34B6 #40B634
analogous
#6934B6 #AA34B6 #B63481
triadic
#AA34B6 #B6AA34 #34B6AA
tetradic
#AA34B6 #B66934 #40B634 #3481B6
square
#AA34B6 #B66934 #40B634 #3481B6
split-complementary
#AA34B6 #81B634 #34B669
monochromatic
#511957 #7E2686 #AA34B6 #C458CF #D588DD

Accessibility & contrast

On white

5.42
#AA34B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AA34B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34B6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34B6#FFFFFF#000000##FFFFFF
##AA34B61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0561BA
Deuteranopia (green-blind)
#4B6FB3
Tritanopia (blue-blind)
#AD4B72
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa34b6;
/* rgb */ color: rgb(170, 52, 182);
/* oklch */ color: oklch(55.2% 0.212 323.9);
Tailwind
colors: {
  custom: {
    50: '#c777cc',
    500: '#aa34b6',
    950: '#000000',
  },
}
SCSS
$custom: #aa34b6;
$custom-light: #c777cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34b6",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 294.462,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.2124,
    "h": 323.9
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#AA34B6
secondary
#86C77F
accent
#DF4957
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #AA34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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