#AA1BA5#AA1BA5

#AA1BA5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.4% C 0.223 H 329.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA1BA5
RGBrgb(170, 27, 165)
HSLhsl(302, 73%, 39%)
HSVhsv(302, 84%, 67%)
CMYKcmyk(0%, 84.1%, 2.9%, 33.3%)
CIE-LABlab(41.29, 68.02, -40.36)
CIE-LCHlch(41.29, 79.10, 329.32°)
OKLaboklab(52.37% 0.1924 -0.1117)
OKLCHoklch(52.37% 0.223 329.9)
XYZxyz(23.7609, 12.0485, 36.6642)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1BA5 #1BAA20
analogous
#671BAA #AA1BA5 #AA1B5D
triadic
#AA1BA5 #A5AA1B #1BA5AA
tetradic
#AA1BA5 #AA671B #1BAA20 #1B5DAA
square
#AA1BA5 #AA671B #1BAA20 #1B5DAA
split-complementary
#AA1BA5 #5DAA1B #1BAA67
monochromatic
#400A3E #751372 #AA1BA5 #DC26D6 #E55BE0

Accessibility & contrast

On white

6.16
#AA1BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA1BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1BA5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1BA5#FFFFFF#000000##FFFFFF
##AA1BA51.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#B03463
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1ba5;
/* rgb */ color: rgb(170, 27, 165);
/* oklch */ color: oklch(52.4% 0.223 329.9);
Tailwind
colors: {
  custom: {
    50: '#c86dc0',
    500: '#aa1ba5',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ba5;
$custom-light: #c86dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ba5",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 165
  },
  "hsl": {
    "h": 302.098,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52369,
    "c": 0.22251,
    "h": 329.9
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#AA1BA5
secondary
#58C95C
accent
#EF3F39
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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