#AA34B8#AA34B8

#AA34B8 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.214 H 323.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AA34B8
RGBrgb(170, 52, 184)
HSLhsl(294, 56%, 46%)
HSVhsv(294, 72%, 72%)
CMYKcmyk(7.6%, 71.7%, 0%, 27.8%)
CIE-LABlab(44.89, 64.00, -45.88)
CIE-LCHlch(44.89, 78.75, 324.36°)
OKLaboklab(55.29% 0.1716 -0.128)
OKLCHoklch(55.29% 0.214 323.3)
XYZxyz(26.4565, 14.4643, 46.7365)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34B8 #42B834
analogous
#6834B8 #AA34B8 #B83484
triadic
#AA34B8 #B8AA34 #34B8AA
tetradic
#AA34B8 #B86834 #42B834 #3484B8
square
#AA34B8 #B86834 #42B834 #3484B8
split-complementary
#AA34B8 #84B834 #34B868
monochromatic
#521959 #7E2788 #AA34B8 #C359D0 #D589DE

Accessibility & contrast

On white

5.39
#AA34B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AA34B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34B8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34B8#FFFFFF#000000##FFFFFF
##AA34B81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#AD4B73
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa34b8;
/* rgb */ color: rgb(170, 52, 184);
/* oklch */ color: oklch(55.3% 0.214 323.3);
Tailwind
colors: {
  custom: {
    50: '#c777ce',
    500: '#aa34b8',
    950: '#000000',
  },
}
SCSS
$custom: #aa34b8;
$custom-light: #c777ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34b8",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 293.636,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.21405,
    "h": 323.3
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#AA34B8
secondary
#88C880
accent
#DF4959
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #AA34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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