#AA2BB4#AA2BB4

#AA2BB4 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.220 H 324.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AA2BB4
RGBrgb(170, 43, 180)
HSLhsl(296, 61%, 44%)
HSVhsv(296, 76%, 71%)
CMYKcmyk(5.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(43.61, 66.29, -45.57)
CIE-LCHlch(43.61, 80.44, 325.49°)
OKLaboklab(54.3% 0.18 -0.127)
OKLCHoklch(54.3% 0.22 324.8)
XYZxyz(25.6790, 13.5708, 44.4380)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BB4 #35B42B
analogous
#652BB4 #AA2BB4 #B42B79
triadic
#AA2BB4 #B4AA2B #2BB4AA
tetradic
#AA2BB4 #B4652B #35B42B #2B79B4
square
#AA2BB4 #B4652B #35B42B #2B79B4
split-complementary
#AA2BB4 #79B42B #2BB465
monochromatic
#4D1351 #7B1F83 #AA2BB4 #C949D3 #D87ADF

Accessibility & contrast

On white

5.65
#AA2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2BB4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BB4#FFFFFF#000000##FFFFFF
##AA2BB41.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2bb4;
/* rgb */ color: rgb(170, 43, 180);
/* oklch */ color: oklch(54.3% 0.220 324.8);
Tailwind
colors: {
  custom: {
    50: '#c773cb',
    500: '#aa2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bb4;
$custom-light: #c773cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bb4",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 295.62,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.22028,
    "h": 324.8
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#AA2BB4
secondary
#7AC773
accent
#E5434F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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