#AA2BB5#AA2BB5

#AA2BB5 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.221 H 324.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AA2BB5
RGBrgb(170, 43, 181)
HSLhsl(295, 62%, 44%)
HSVhsv(295, 76%, 71%)
CMYKcmyk(6.1%, 76.2%, 0%, 29%)
CIE-LABlab(43.67, 66.46, -46.07)
CIE-LCHlch(43.67, 80.87, 325.27°)
OKLaboklab(54.36% 0.1799 -0.1285)
OKLCHoklch(54.36% 0.221 324.5)
XYZxyz(25.7813, 13.6117, 44.9765)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BB5 #36B52B
analogous
#652BB5 #AA2BB5 #B52B7B
triadic
#AA2BB5 #B5AA2B #2BB5AA
tetradic
#AA2BB5 #B5652B #36B52B #2B7BB5
square
#AA2BB5 #B5652B #36B52B #2B7BB5
split-complementary
#AA2BB5 #7BB52B #2BB565
monochromatic
#4D1452 #7C1F84 #AA2BB5 #C949D4 #D87BE0

Accessibility & contrast

On white

5.64
#AA2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AA2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BB5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BB5#FFFFFF#000000##FFFFFF
##AA2BB51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#476CB2
Tritanopia (blue-blind)
#AD456F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2bb5;
/* rgb */ color: rgb(170, 43, 181);
/* oklch */ color: oklch(54.4% 0.221 324.5);
Tailwind
colors: {
  custom: {
    50: '#c773cc',
    500: '#aa2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bb5;
$custom-light: #c773cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bb5",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 295.217,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.22106,
    "h": 324.5
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#AA2BB5
secondary
#7BC874
accent
#E54350
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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