#AA4AAA#AA4AAA

#AA4AAA is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.9% C 0.173 H 327.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AA4AAA
RGBrgb(170, 74, 170)
HSLhsl(300, 39%, 48%)
HSVhsv(300, 56%, 67%)
CMYKcmyk(0%, 56.5%, 0%, 33.3%)
CIE-LABlab(47.43, 52.35, -33.64)
CIE-LCHlch(47.43, 62.22, 327.28°)
OKLaboklab(56.88% 0.1457 -0.0926)
OKLCHoklch(56.88% 0.173 327.5)
XYZxyz(26.2816, 16.3475, 39.7935)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4AAA #4AAA4A
analogous
#7A4AAA #AA4AAA #AA4A7A
triadic
#AA4AAA #AAAA4A #4AAAAA
tetradic
#AA4AAA #AA7A4A #4AAA4A #4A7AAA
square
#AA4AAA #AA7A4A #4AAA4A #4A7AAA
split-complementary
#AA4AAA #7AAA4A #4AAA7A
monochromatic
#552555 #7F377F #AA4AAA #C170C1 #D39BD3

Accessibility & contrast

On white

4.92
#AA4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AA4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4AAA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4AAA#FFFFFF#000000##FFFFFF
##AA4AAA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#AF5573
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa4aaa;
/* rgb */ color: rgb(170, 74, 170);
/* oklch */ color: oklch(56.9% 0.173 327.5);
Tailwind
colors: {
  custom: {
    50: '#c682c3',
    500: '#aa4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #aa4aaa;
$custom-light: #c682c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4aaa",
  "rgb": {
    "r": 170,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.17261,
    "h": 327.5
  },
  "luminance": 0.16346
}

Semantic roles & 50–950 ramp

primary
#AA4AAA
secondary
#90C090
accent
#CF5959
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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