#AA34AA#AA34AA

#AA34AA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.203 H 327.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AA34AA
RGBrgb(170, 52, 170)
HSLhsl(300, 53%, 44%)
HSVhsv(300, 69%, 67%)
CMYKcmyk(0%, 69.4%, 0%, 33.3%)
CIE-LABlab(44.10, 61.58, -38.89)
CIE-LCHlch(44.10, 72.83, 327.73°)
OKLaboklab(54.46% 0.1717 -0.1076)
OKLCHoklch(54.46% 0.203 327.9)
XYZxyz(25.0609, 13.9061, 39.3866)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34AA #34AA34
analogous
#6F34AA #AA34AA #AA346F
triadic
#AA34AA #AAAA34 #34AAAA
tetradic
#AA34AA #AA6F34 #34AA34 #346FAA
square
#AA34AA #AA6F34 #34AA34 #346FAA
split-complementary
#AA34AA #6FAA34 #34AA6F
monochromatic
#4C174C #7B267B #AA34AA #CA51CA #D880D8

Accessibility & contrast

On white

5.55
#AA34AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AA34AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34AA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34AA#FFFFFF#000000##FFFFFF
##AA34AA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#AF456B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa34aa;
/* rgb */ color: rgb(170, 52, 170);
/* oklch */ color: oklch(54.5% 0.203 327.9);
Tailwind
colors: {
  custom: {
    50: '#c776c4',
    500: '#aa34aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa34aa;
$custom-light: #c776c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34aa",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.20266,
    "h": 327.9
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#AA34AA
secondary
#78C178
accent
#DD4B4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #AA34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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