#AA34C0#AA34C0

#AA34C0 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.221 H 320.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AA34C0
RGBrgb(170, 52, 192)
HSLhsl(291, 57%, 48%)
HSVhsv(291, 73%, 75%)
CMYKcmyk(11.5%, 72.9%, 0%, 24.7%)
CIE-LABlab(45.37, 65.44, -49.79)
CIE-LCHlch(45.37, 82.23, 322.73°)
OKLaboklab(55.78% 0.1711 -0.1394)
OKLCHoklch(55.78% 0.221 320.8)
XYZxyz(27.3189, 14.8093, 51.2784)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34C0 #4AC034
analogous
#6434C0 #AA34C0 #C03490
triadic
#AA34C0 #C0AA34 #34C0AA
tetradic
#AA34C0 #C06434 #4AC034 #3490C0
square
#AA34C0 #C06434 #4AC034 #3490C0
split-complementary
#AA34C0 #90C034 #34C064
monochromatic
#551A60 #7F2790 #AA34C0 #C15ED3 #D38EE0

Accessibility & contrast

On white

5.30
#AA34C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AA34C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34C0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34C0#FFFFFF#000000##FFFFFF
##AA34C01.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#AB4F77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa34c0;
/* rgb */ color: rgb(170, 52, 192);
/* oklch */ color: oklch(55.8% 0.221 320.8);
Tailwind
colors: {
  custom: {
    50: '#c777d4',
    500: '#aa34c0',
    950: '#000000',
  },
}
SCSS
$custom: #aa34c0;
$custom-light: #c777d4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34c0",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 290.571,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55783,
    "c": 0.22071,
    "h": 320.8
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#AA34C0
secondary
#90CB85
accent
#E1475F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AA34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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