#AA2BAD#AA2BAD

#AA2BAD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.215 H 327.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AA2BAD
RGBrgb(170, 43, 173)
HSLhsl(299, 60%, 42%)
HSVhsv(299, 75%, 68%)
CMYKcmyk(1.7%, 75.1%, 0%, 32.2%)
CIE-LABlab(43.20, 65.11, -42.09)
CIE-LCHlch(43.20, 77.53, 327.12°)
OKLaboklab(53.87% 0.1803 -0.1169)
OKLCHoklch(53.87% 0.215 327)
XYZxyz(24.9839, 13.2927, 40.7769)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BAD #2EAD2B
analogous
#692BAD #AA2BAD #AD2B6F
triadic
#AA2BAD #ADAA2B #2BADAA
tetradic
#AA2BAD #AD692B #2EAD2B #2B6FAD
square
#AA2BAD #AD692B #2EAD2B #2B6FAD
split-complementary
#AA2BAD #6FAD2B #2BAD69
monochromatic
#4A134B #7A1F7C #AA2BAD #CD45D1 #DA76DD

Accessibility & contrast

On white

5.74
#AA2BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA2BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BAD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BAD#FFFFFF#000000##FFFFFF
##AA2BAD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB0
Deuteranopia (green-blind)
#4C6CAA
Tritanopia (blue-blind)
#AF416B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2bad;
/* rgb */ color: rgb(170, 43, 173);
/* oklch */ color: oklch(53.9% 0.215 327.0);
Tailwind
colors: {
  custom: {
    50: '#c773c6',
    500: '#aa2bad',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bad;
$custom-light: #c773c6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bad",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 298.615,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.21483,
    "h": 327
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#AA2BAD
secondary
#71C46F
accent
#E34448
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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