#AA2BB1#AA2BB1

#AA2BB1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.218 H 325.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AA2BB1
RGBrgb(170, 43, 177)
HSLhsl(297, 61%, 43%)
HSVhsv(297, 76%, 69%)
CMYKcmyk(4%, 75.7%, 0%, 30.6%)
CIE-LABlab(43.43, 65.78, -44.09)
CIE-LCHlch(43.43, 79.19, 326.17°)
OKLaboklab(54.11% 0.1801 -0.1227)
OKLCHoklch(54.11% 0.218 325.7)
XYZxyz(25.3767, 13.4498, 42.8459)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BB1 #32B12B
analogous
#672BB1 #AA2BB1 #B12B75
triadic
#AA2BB1 #B1AA2B #2BB1AA
tetradic
#AA2BB1 #B1672B #32B12B #2B75B1
square
#AA2BB1 #B1672B #32B12B #2B75B1
split-complementary
#AA2BB1 #75B12B #2BB167
monochromatic
#4B134F #7B1F80 #AA2BB1 #CB47D2 #D978DE

Accessibility & contrast

On white

5.69
#AA2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AA2BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BB1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BB1#FFFFFF#000000##FFFFFF
##AA2BB11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4A6CAE
Tritanopia (blue-blind)
#AE436D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2bb1;
/* rgb */ color: rgb(170, 43, 177);
/* oklch */ color: oklch(54.1% 0.218 325.7);
Tailwind
colors: {
  custom: {
    50: '#c773c9',
    500: '#aa2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bb1;
$custom-light: #c773c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bb1",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 296.866,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.21794,
    "h": 325.7
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#AA2BB1
secondary
#76C672
accent
#E4444C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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