#AA2BB3#AA2BB3

#AA2BB3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.220 H 325.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AA2BB3
RGBrgb(170, 43, 179)
HSLhsl(296, 61%, 44%)
HSVhsv(296, 76%, 70%)
CMYKcmyk(5%, 76%, 0%, 29.8%)
CIE-LABlab(43.55, 66.12, -45.08)
CIE-LCHlch(43.55, 80.03, 325.71°)
OKLaboklab(54.24% 0.18 -0.1256)
OKLCHoklch(54.24% 0.22 325.1)
XYZxyz(25.5775, 13.5302, 43.9035)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BB3 #34B32B
analogous
#662BB3 #AA2BB3 #B32B78
triadic
#AA2BB3 #B3AA2B #2BB3AA
tetradic
#AA2BB3 #B3662B #34B32B #2B78B3
square
#AA2BB3 #B3662B #34B32B #2B78B3
split-complementary
#AA2BB3 #78B32B #2BB366
monochromatic
#4C1350 #7B1F82 #AA2BB3 #CA48D3 #D879DF

Accessibility & contrast

On white

5.67
#AA2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AA2BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BB3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BB3#FFFFFF#000000##FFFFFF
##AA2BB31.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#AE446E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2bb3;
/* rgb */ color: rgb(170, 43, 179);
/* oklch */ color: oklch(54.2% 0.220 325.1);
Tailwind
colors: {
  custom: {
    50: '#c773ca',
    500: '#aa2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bb3;
$custom-light: #c773ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bb3",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 296.029,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.2195,
    "h": 325.1
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#AA2BB3
secondary
#78C773
accent
#E4434E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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