#AA34B1#AA34B1

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

Color values

HEX#AA34B1
RGBrgb(170, 52, 177)
HSLhsl(297, 55%, 45%)
HSVhsv(297, 71%, 69%)
CMYKcmyk(4%, 70.6%, 0%, 30.6%)
CIE-LABlab(44.49, 62.77, -42.41)
CIE-LCHlch(44.49, 75.76, 325.96°)
OKLaboklab(54.87% 0.1718 -0.1179)
OKLCHoklch(54.87% 0.208 325.5)
XYZxyz(25.7408, 14.1780, 42.9673)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34B1 #3BB134
analogous
#6C34B1 #AA34B1 #B1347A
triadic
#AA34B1 #B1AA34 #34B1AA
tetradic
#AA34B1 #B16C34 #3BB134 #347AB1
square
#AA34B1 #B16C34 #3BB134 #347AB1
split-complementary
#AA34B1 #7AB134 #34B16C
monochromatic
#4F1852 #7D2682 #AA34B1 #C655CD #D684DB

Accessibility & contrast

On white

5.48
#AA34B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA34B1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34B1#FFFFFF#000000##FFFFFF
##AA34B11.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#AE486F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa34b1;
/* rgb */ color: rgb(170, 52, 177);
/* oklch */ color: oklch(54.9% 0.208 325.5);
Tailwind
colors: {
  custom: {
    50: '#c777c9',
    500: '#aa34b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa34b1;
$custom-light: #c777c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34b1",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 296.64,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.2083,
    "h": 325.5
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#AA34B1
secondary
#80C57C
accent
#DE4A52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA34B1

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

Preview Lab → · Contrast checker → · Palette generator →

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