#AA34B4#AA34B4

#AA34B4 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.211 H 324.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AA34B4
RGBrgb(170, 52, 180)
HSLhsl(295, 55%, 45%)
HSVhsv(295, 71%, 71%)
CMYKcmyk(5.6%, 71.1%, 0%, 29.4%)
CIE-LABlab(44.66, 63.29, -43.90)
CIE-LCHlch(44.66, 77.03, 325.25°)
OKLaboklab(55.05% 0.1717 -0.1222)
OKLCHoklch(55.05% 0.211 324.6)
XYZxyz(26.0431, 14.2989, 44.5594)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34B4 #3EB434
analogous
#6A34B4 #AA34B4 #B4347E
triadic
#AA34B4 #B4AA34 #34B4AA
tetradic
#AA34B4 #B46A34 #3EB434 #347EB4
square
#AA34B4 #B46A34 #3EB434 #347EB4
split-complementary
#AA34B4 #7EB434 #34B46A
monochromatic
#501955 #7D2685 #AA34B4 #C557CE #D586DC

Accessibility & contrast

On white

5.44
#AA34B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AA34B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34B4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34B4#FFFFFF#000000##FFFFFF
##AA34B41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D61B8
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#AD4A71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa34b4;
/* rgb */ color: rgb(170, 52, 180);
/* oklch */ color: oklch(55.0% 0.211 324.6);
Tailwind
colors: {
  custom: {
    50: '#c777cb',
    500: '#aa34b4',
    950: '#000000',
  },
}
SCSS
$custom: #aa34b4;
$custom-light: #c777cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34b4",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 295.313,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.21076,
    "h": 324.6
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#AA34B4
secondary
#84C67E
accent
#DF4955
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA34B4

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

Preview Lab → · Contrast checker → · Palette generator →

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