#AA2BB6#AA2BB6

#AA2BB6 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.222 H 324.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AA2BB6
RGBrgb(170, 43, 182)
HSLhsl(295, 62%, 44%)
HSVhsv(295, 76%, 71%)
CMYKcmyk(6.6%, 76.4%, 0%, 28.6%)
CIE-LABlab(43.73, 66.63, -46.56)
CIE-LCHlch(43.73, 81.29, 325.05°)
OKLaboklab(54.42% 0.1798 -0.1299)
OKLCHoklch(54.42% 0.222 324.2)
XYZxyz(25.8842, 13.6528, 45.5188)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BB6 #37B62B
analogous
#652BB6 #AA2BB6 #B62B7D
triadic
#AA2BB6 #B6AA2B #2BB6AA
tetradic
#AA2BB6 #B6652B #37B62B #2B7DB6
square
#AA2BB6 #B6652B #37B62B #2B7DB6
split-complementary
#AA2BB6 #7DB62B #2BB665
monochromatic
#4E1453 #7C1F84 #AA2BB6 #C84AD4 #D77BE0

Accessibility & contrast

On white

5.63
#AA2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AA2BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BB6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BB6#FFFFFF#000000##FFFFFF
##AA2BB61.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#466CB3
Tritanopia (blue-blind)
#AD4570
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2bb6;
/* rgb */ color: rgb(170, 43, 182);
/* oklch */ color: oklch(54.4% 0.222 324.2);
Tailwind
colors: {
  custom: {
    50: '#c773cc',
    500: '#aa2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bb6;
$custom-light: #c773cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bb6",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 294.82,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.22185,
    "h": 324.2
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#AA2BB6
secondary
#7CC875
accent
#E54351
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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