#AA34C2#AA34C2

#AA34C2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.222 H 320.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AA34C2
RGBrgb(170, 52, 194)
HSLhsl(290, 58%, 48%)
HSVhsv(290, 73%, 76%)
CMYKcmyk(12.4%, 73.2%, 0%, 23.9%)
CIE-LABlab(45.49, 65.80, -50.76)
CIE-LCHlch(45.49, 83.11, 322.36°)
OKLaboklab(55.91% 0.171 -0.1422)
OKLCHoklch(55.91% 0.222 320.2)
XYZxyz(27.5420, 14.8985, 52.4534)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34C2 #4CC234
analogous
#6334C2 #AA34C2 #C23493
triadic
#AA34C2 #C2AA34 #34C2AA
tetradic
#AA34C2 #C26334 #4CC234 #3493C2
square
#AA34C2 #C26334 #4CC234 #3493C2
split-complementary
#AA34C2 #93C234 #34C263
monochromatic
#551A61 #802792 #AA34C2 #C05FD4 #D38FE1

Accessibility & contrast

On white

5.28
#AA34C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AA34C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34C2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34C2#FFFFFF#000000##FFFFFF
##AA34C21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#AB5079
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa34c2;
/* rgb */ color: rgb(170, 52, 194);
/* oklch */ color: oklch(55.9% 0.222 320.2);
Tailwind
colors: {
  custom: {
    50: '#c777d5',
    500: '#aa34c2',
    950: '#000000',
  },
}
SCSS
$custom: #aa34c2;
$custom-light: #c777d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34c2",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 289.859,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.2224,
    "h": 320.2
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#AA34C2
secondary
#92CC86
accent
#E14761
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AA34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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