#AA1AA2#AA1AA2

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

Color values

HEX#AA1AA2
RGBrgb(170, 26, 162)
HSLhsl(303, 73%, 38%)
HSVhsv(303, 85%, 67%)
CMYKcmyk(0%, 84.7%, 4.7%, 33.3%)
CIE-LABlab(41.05, 67.78, -38.95)
CIE-LCHlch(41.05, 78.17, 330.12°)
OKLaboklab(52.14% 0.1931 -0.1076)
OKLCHoklch(52.14% 0.221 330.9)
XYZxyz(23.4685, 11.8954, 35.2354)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1AA2 #1AAA22
analogous
#6A1AAA #AA1AA2 #AA1A5A
triadic
#AA1AA2 #A2AA1A #1AA2AA
tetradic
#AA1AA2 #AA6A1A #1AAA22 #1A5AAA
square
#AA1AA2 #AA6A1A #1AAA22 #1A5AAA
split-complementary
#AA1AA2 #5AAA1A #1AAA6A
monochromatic
#400A3D #75126F #AA1AA2 #DD24D3 #E659DE

Accessibility & contrast

On white

6.22
#AA1AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA1AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1AA2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1AA2#FFFFFF#000000##FFFFFF
##AA1AA21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#B13261
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1aa2;
/* rgb */ color: rgb(170, 26, 162);
/* oklch */ color: oklch(52.1% 0.221 330.9);
Tailwind
colors: {
  custom: {
    50: '#c86cbe',
    500: '#aa1aa2',
    950: '#000000',
  },
}
SCSS
$custom: #aa1aa2;
$custom-light: #c86cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1aa2",
  "rgb": {
    "r": 170,
    "g": 26,
    "b": 162
  },
  "hsl": {
    "h": 303.333,
    "s": 73.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.22109,
    "h": 330.9
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#AA1AA2
secondary
#57C95D
accent
#F04238
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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