#AA34B7#AA34B7

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

Color values

HEX#AA34B7
RGBrgb(170, 52, 183)
HSLhsl(294, 56%, 46%)
HSVhsv(294, 72%, 72%)
CMYKcmyk(7.1%, 71.6%, 0%, 28.2%)
CIE-LABlab(44.83, 63.82, -45.39)
CIE-LCHlch(44.83, 78.32, 324.58°)
OKLaboklab(55.23% 0.1716 -0.1265)
OKLCHoklch(55.23% 0.213 323.6)
XYZxyz(26.3520, 14.4225, 46.1864)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34B7 #41B734
analogous
#6834B7 #AA34B7 #B73482
triadic
#AA34B7 #B7AA34 #34B7AA
tetradic
#AA34B7 #B76834 #41B734 #3482B7
square
#AA34B7 #B76834 #41B734 #3482B7
split-complementary
#AA34B7 #82B734 #34B768
monochromatic
#511958 #7E2687 #AA34B7 #C459D0 #D588DD

Accessibility & contrast

On white

5.41
#AA34B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA34B7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34B7#FFFFFF#000000##FFFFFF
##AA34B71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0161BB
Deuteranopia (green-blind)
#4A6FB4
Tritanopia (blue-blind)
#AD4B72
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa34b7;
/* rgb */ color: rgb(170, 52, 183);
/* oklch */ color: oklch(55.2% 0.213 323.6);
Tailwind
colors: {
  custom: {
    50: '#c777cd',
    500: '#aa34b7',
    950: '#000000',
  },
}
SCSS
$custom: #aa34b7;
$custom-light: #c777cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34b7",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 294.046,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55225,
    "c": 0.21322,
    "h": 323.6
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#AA34B7
secondary
#87C780
accent
#DF4958
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #AA34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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