#AA1B9B#AA1B9B

#AA1B9B is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.216 H 333.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AA1B9B
RGBrgb(170, 27, 155)
HSLhsl(306, 73%, 39%)
HSVhsv(306, 84%, 67%)
CMYKcmyk(0%, 84.1%, 8.8%, 33.3%)
CIE-LABlab(40.73, 66.52, -35.24)
CIE-LCHlch(40.73, 75.28, 332.09°)
OKLaboklab(51.79% 0.1926 -0.0969)
OKLCHoklch(51.79% 0.216 333.3)
XYZxyz(22.8861, 11.6985, 32.0567)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B9B #1BAA2A
analogous
#711BAA #AA1B9B #AA1B53
triadic
#AA1B9B #9BAA1B #1B9BAA
tetradic
#AA1B9B #AA711B #1BAA2A #1B53AA
square
#AA1B9B #AA711B #1BAA2A #1B53AA
split-complementary
#AA1B9B #53AA1B #1BAA71
monochromatic
#400A3B #75136B #AA1B9B #DC26C9 #E55BD6

Accessibility & contrast

On white

6.29
#AA1B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AA1B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1B9B
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B9B#FFFFFF#000000##FFFFFF
##AA1B9B1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#B22E5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa1b9b;
/* rgb */ color: rgb(170, 27, 155);
/* oklch */ color: oklch(51.8% 0.216 333.3);
Tailwind
colors: {
  custom: {
    50: '#c76cb9',
    500: '#aa1b9b',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b9b;
$custom-light: #c76cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b9b",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 155
  },
  "hsl": {
    "h": 306.294,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.21557,
    "h": 333.3
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

primary
#AA1B9B
secondary
#58C964
accent
#EF4C39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA1B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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