#AA2BAA#AA2BAA

#AA2BAA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.213 H 328.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AA2BAA
RGBrgb(170, 43, 170)
HSLhsl(300, 60%, 42%)
HSVhsv(300, 75%, 67%)
CMYKcmyk(0%, 74.7%, 0%, 33.3%)
CIE-LABlab(43.03, 64.62, -40.58)
CIE-LCHlch(43.03, 76.30, 327.87°)
OKLaboklab(53.7% 0.1803 -0.1125)
OKLCHoklch(53.7% 0.213 328)
XYZxyz(24.6968, 13.1779, 39.2652)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BAA #2BAA2B
analogous
#6B2BAA #AA2BAA #AA2B6B
triadic
#AA2BAA #AAAA2B #2BAAAA
tetradic
#AA2BAA #AA6B2B #2BAA2B #2B6BAA
square
#AA2BAA #AA6B2B #2BAA2B #2B6BAA
split-complementary
#AA2BAA #6BAA2B #2BAA6B
monochromatic
#481248 #791F79 #AA2BAA #CF43CF #DC74DC

Accessibility & contrast

On white

5.78
#AA2BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AA2BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BAA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BAA#FFFFFF#000000##FFFFFF
##AA2BAA1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAD
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#AF3F69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2baa;
/* rgb */ color: rgb(170, 43, 170);
/* oklch */ color: oklch(53.7% 0.213 328.0);
Tailwind
colors: {
  custom: {
    50: '#c772c4',
    500: '#aa2baa',
    950: '#000000',
  },
}
SCSS
$custom: #aa2baa;
$custom-light: #c772c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2baa",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.21253,
    "h": 328
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#AA2BAA
secondary
#6EC36E
accent
#E34545
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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