#AA2BB8#AA2BB8

#AA2BB8 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.223 H 323.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AA2BB8
RGBrgb(170, 43, 184)
HSLhsl(294, 62%, 45%)
HSVhsv(294, 77%, 72%)
CMYKcmyk(7.6%, 76.6%, 0%, 27.8%)
CIE-LABlab(43.85, 66.98, -47.54)
CIE-LCHlch(43.85, 82.13, 324.63°)
OKLaboklab(54.55% 0.1797 -0.1328)
OKLCHoklch(54.55% 0.223 323.5)
XYZxyz(26.0924, 13.7361, 46.6151)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BB8 #39B82B
analogous
#642BB8 #AA2BB8 #B82B7F
triadic
#AA2BB8 #B8AA2B #2BB8AA
tetradic
#AA2BB8 #B8642B #39B82B #2B7FB8
square
#AA2BB8 #B8642B #39B82B #2B7FB8
split-complementary
#AA2BB8 #7FB82B #2BB864
monochromatic
#4E1455 #7C1F86 #AA2BB8 #C74BD5 #D77DE1

Accessibility & contrast

On white

5.60
#AA2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AA2BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BB8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BB8#FFFFFF#000000##FFFFFF
##AA2BB81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#AD4671
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2bb8;
/* rgb */ color: rgb(170, 43, 184);
/* oklch */ color: oklch(54.5% 0.223 323.5);
Tailwind
colors: {
  custom: {
    50: '#c773ce',
    500: '#aa2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bb8;
$custom-light: #c773ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bb8",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 294.043,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.22343,
    "h": 323.5
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#AA2BB8
secondary
#7EC976
accent
#E54353
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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