#AA1BA4#AA1BA4

#AA1BA4 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.222 H 330.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA1BA4
RGBrgb(170, 27, 164)
HSLhsl(303, 73%, 39%)
HSVhsv(303, 84%, 67%)
CMYKcmyk(0%, 84.1%, 3.5%, 33.3%)
CIE-LABlab(41.24, 67.87, -39.85)
CIE-LCHlch(41.24, 78.71, 329.58°)
OKLaboklab(52.31% 0.1925 -0.1103)
OKLCHoklch(52.31% 0.222 330.2)
XYZxyz(23.6703, 12.0122, 36.1867)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1BA4 #1BAA21
analogous
#681BAA #AA1BA4 #AA1B5D
triadic
#AA1BA4 #A4AA1B #1BA4AA
tetradic
#AA1BA4 #AA681B #1BAA21 #1B5DAA
square
#AA1BA4 #AA681B #1BAA21 #1B5DAA
split-complementary
#AA1BA4 #5DAA1B #1BAA68
monochromatic
#400A3E #751371 #AA1BA4 #DC26D5 #E55BDF

Accessibility & contrast

On white

6.17
#AA1BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA1BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1BA4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1BA4#FFFFFF#000000##FFFFFF
##AA1BA41.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#B13362
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1ba4;
/* rgb */ color: rgb(170, 27, 164);
/* oklch */ color: oklch(52.3% 0.222 330.2);
Tailwind
colors: {
  custom: {
    50: '#c86dbf',
    500: '#aa1ba4',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ba4;
$custom-light: #c86dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ba4",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 164
  },
  "hsl": {
    "h": 302.517,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.2218,
    "h": 330.2
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#AA1BA4
secondary
#58C95D
accent
#EF4039
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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