#AA2AA3#AA2AA3

#AA2AA3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.208 H 330.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AA2AA3
RGBrgb(170, 42, 163)
HSLhsl(303, 60%, 42%)
HSVhsv(303, 75%, 67%)
CMYKcmyk(0%, 75.3%, 4.1%, 33.3%)
CIE-LABlab(42.53, 63.80, -37.19)
CIE-LCHlch(42.53, 73.85, 329.76°)
OKLaboklab(53.22% 0.1812 -0.1026)
OKLCHoklch(53.22% 0.208 330.5)
XYZxyz(24.0163, 12.8482, 35.8583)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AA3 #2AAA31
analogous
#712AAA #AA2AA3 #AA2A63
triadic
#AA2AA3 #A3AA2A #2AA3AA
tetradic
#AA2AA3 #AA712A #2AAA31 #2A63AA
square
#AA2AA3 #AA712A #2AAA31 #2A63AA
split-complementary
#AA2AA3 #63AA2A #2AAA71
monochromatic
#481245 #791E74 #AA2AA3 #D041C8 #DC72D6

Accessibility & contrast

On white

5.88
#AA2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA2AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AA3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AA3#FFFFFF#000000##FFFFFF
##AA2AA31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A6
Deuteranopia (green-blind)
#526AA0
Tritanopia (blue-blind)
#B13B65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2aa3;
/* rgb */ color: rgb(170, 42, 163);
/* oklch */ color: oklch(53.2% 0.208 330.5);
Tailwind
colors: {
  custom: {
    50: '#c772bf',
    500: '#aa2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #aa2aa3;
$custom-light: #c772bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2aa3",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 303.281,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.20826,
    "h": 330.5
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#AA2AA3
secondary
#6CC371
accent
#E44D44
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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