#AA1AA1#AA1AA1

#AA1AA1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.220 H 331.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA1AA1
RGBrgb(170, 26, 161)
HSLhsl(304, 73%, 38%)
HSVhsv(304, 85%, 67%)
CMYKcmyk(0%, 84.7%, 5.3%, 33.3%)
CIE-LABlab(40.99, 67.63, -38.44)
CIE-LCHlch(40.99, 77.79, 330.39°)
OKLaboklab(52.08% 0.1931 -0.1062)
OKLCHoklch(52.08% 0.22 331.2)
XYZxyz(23.3800, 11.8600, 34.7692)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1AA1 #1AAA23
analogous
#6B1AAA #AA1AA1 #AA1A59
triadic
#AA1AA1 #A1AA1A #1AA1AA
tetradic
#AA1AA1 #AA6B1A #1AAA23 #1A59AA
square
#AA1AA1 #AA6B1A #1AAA23 #1A59AA
split-complementary
#AA1AA1 #59AA1A #1AAA6B
monochromatic
#400A3C #75126F #AA1AA1 #DD24D2 #E659DD

Accessibility & contrast

On white

6.23
#AA1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA1AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1AA1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1AA1#FFFFFF#000000##FFFFFF
##AA1AA11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#4E679E
Tritanopia (blue-blind)
#B13160
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1aa1;
/* rgb */ color: rgb(170, 26, 161);
/* oklch */ color: oklch(52.1% 0.220 331.2);
Tailwind
colors: {
  custom: {
    50: '#c86cbd',
    500: '#aa1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #aa1aa1;
$custom-light: #c86cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1aa1",
  "rgb": {
    "r": 170,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 303.75,
    "s": 73.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.2204,
    "h": 331.2
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#AA1AA1
secondary
#57C95E
accent
#F04338
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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