#AA1BA2#AA1BA2

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

Color values

HEX#AA1BA2
RGBrgb(170, 27, 162)
HSLhsl(303, 73%, 39%)
HSVhsv(303, 84%, 67%)
CMYKcmyk(0%, 84.1%, 4.7%, 33.3%)
CIE-LABlab(41.12, 67.57, -38.83)
CIE-LCHlch(41.12, 77.93, 330.11°)
OKLaboklab(52.19% 0.1925 -0.1073)
OKLCHoklch(52.19% 0.22 330.9)
XYZxyz(23.4911, 11.9405, 35.2429)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1BA2 #1BAA23
analogous
#6A1BAA #AA1BA2 #AA1B5A
triadic
#AA1BA2 #A2AA1B #1BA2AA
tetradic
#AA1BA2 #AA6A1B #1BAA23 #1B5AAA
square
#AA1BA2 #AA6A1B #1BAA23 #1B5AAA
split-complementary
#AA1BA2 #5AAA1B #1BAA6A
monochromatic
#400A3D #751370 #AA1BA2 #DC26D2 #E55BDD

Accessibility & contrast

On white

6.20
#AA1BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AA1BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1BA2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1BA2#FFFFFF#000000##FFFFFF
##AA1BA21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#4D689F
Tritanopia (blue-blind)
#B13261
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1ba2;
/* rgb */ color: rgb(170, 27, 162);
/* oklch */ color: oklch(52.2% 0.220 330.9);
Tailwind
colors: {
  custom: {
    50: '#c86dbe',
    500: '#aa1ba2',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ba2;
$custom-light: #c86dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ba2",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 162
  },
  "hsl": {
    "h": 303.357,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.2204,
    "h": 330.9
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#AA1BA2
secondary
#58C95E
accent
#EF4339
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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