#AA34B2#AA34B2

#AA34B2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.209 H 325.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AA34B2
RGBrgb(170, 52, 178)
HSLhsl(296, 55%, 45%)
HSVhsv(296, 71%, 70%)
CMYKcmyk(4.5%, 70.8%, 0%, 30.2%)
CIE-LABlab(44.54, 62.95, -42.91)
CIE-LCHlch(44.54, 76.18, 325.72°)
OKLaboklab(54.93% 0.1717 -0.1193)
OKLCHoklch(54.93% 0.209 325.2)
XYZxyz(25.8408, 14.2180, 43.4941)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34B2 #3CB234
analogous
#6B34B2 #AA34B2 #B2347B
triadic
#AA34B2 #B2AA34 #34B2AA
tetradic
#AA34B2 #B26B34 #3CB234 #347BB2
square
#AA34B2 #B26B34 #3CB234 #347BB2
split-complementary
#AA34B2 #7BB234 #34B26B
monochromatic
#501853 #7D2683 #AA34B2 #C656CE #D685DB

Accessibility & contrast

On white

5.46
#AA34B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AA34B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34B2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34B2#FFFFFF#000000##FFFFFF
##AA34B21.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#AE4970
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa34b2;
/* rgb */ color: rgb(170, 52, 178);
/* oklch */ color: oklch(54.9% 0.209 325.2);
Tailwind
colors: {
  custom: {
    50: '#c777c9',
    500: '#aa34b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa34b2;
$custom-light: #c777c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34b2",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 296.19,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.20912,
    "h": 325.2
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#AA34B2
secondary
#81C57D
accent
#DE4A53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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