#AA2BB7#AA2BB7

#AA2BB7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.223 H 323.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AA2BB7
RGBrgb(170, 43, 183)
HSLhsl(294, 62%, 44%)
HSVhsv(294, 77%, 72%)
CMYKcmyk(7.1%, 76.5%, 0%, 28.2%)
CIE-LABlab(43.79, 66.80, -47.05)
CIE-LCHlch(43.79, 81.71, 324.84°)
OKLaboklab(54.48% 0.1798 -0.1313)
OKLCHoklch(54.48% 0.223 323.8)
XYZxyz(25.9879, 13.6943, 46.0650)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BB7 #38B72B
analogous
#642BB7 #AA2BB7 #B72B7E
triadic
#AA2BB7 #B7AA2B #2BB7AA
tetradic
#AA2BB7 #B7642B #38B72B #2B7EB7
square
#AA2BB7 #B7642B #38B72B #2B7EB7
split-complementary
#AA2BB7 #7EB72B #2BB764
monochromatic
#4E1454 #7C1F85 #AA2BB7 #C84BD5 #D77CE0

Accessibility & contrast

On white

5.62
#AA2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AA2BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BB7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BB7#FFFFFF#000000##FFFFFF
##AA2BB71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#466CB4
Tritanopia (blue-blind)
#AD4670
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2bb7;
/* rgb */ color: rgb(170, 43, 183);
/* oklch */ color: oklch(54.5% 0.223 323.8);
Tailwind
colors: {
  custom: {
    50: '#c773cd',
    500: '#aa2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bb7;
$custom-light: #c773cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bb7",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 294.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54483,
    "c": 0.22263,
    "h": 323.8
  },
  "luminance": 0.13693
}

Semantic roles & 50–950 ramp

primary
#AA2BB7
secondary
#7DC975
accent
#E54352
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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