#AA1BA1#AA1BA1

#AA1BA1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.220 H 331.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA1BA1
RGBrgb(170, 27, 161)
HSLhsl(304, 73%, 39%)
HSVhsv(304, 84%, 67%)
CMYKcmyk(0%, 84.1%, 5.3%, 33.3%)
CIE-LABlab(41.06, 67.42, -38.32)
CIE-LCHlch(41.06, 77.55, 330.38°)
OKLaboklab(52.13% 0.1925 -0.1058)
OKLCHoklch(52.13% 0.22 331.2)
XYZxyz(23.4025, 11.9051, 34.7767)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1BA1 #1BAA24
analogous
#6B1BAA #AA1BA1 #AA1B59
triadic
#AA1BA1 #A1AA1B #1BA1AA
tetradic
#AA1BA1 #AA6B1B #1BAA24 #1B59AA
square
#AA1BA1 #AA6B1B #1BAA24 #1B59AA
split-complementary
#AA1BA1 #59AA1B #1BAA6B
monochromatic
#400A3D #75136F #AA1BA1 #DC26D1 #E55BDC

Accessibility & contrast

On white

6.21
#AA1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA1BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1BA1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1BA1#FFFFFF#000000##FFFFFF
##AA1BA11.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A4
Deuteranopia (green-blind)
#4E679E
Tritanopia (blue-blind)
#B13160
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1ba1;
/* rgb */ color: rgb(170, 27, 161);
/* oklch */ color: oklch(52.1% 0.220 331.2);
Tailwind
colors: {
  custom: {
    50: '#c86dbd',
    500: '#aa1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ba1;
$custom-light: #c86dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ba1",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 303.776,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.21971,
    "h": 331.2
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#AA1BA1
secondary
#58C95F
accent
#EF4439
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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