#AA1FA1#AA1FA1

#AA1FA1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.217 H 331.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA1FA1
RGBrgb(170, 31, 161)
HSLhsl(304, 69%, 39%)
HSVhsv(304, 82%, 67%)
CMYKcmyk(0%, 81.8%, 5.3%, 33.3%)
CIE-LABlab(41.38, 66.51, -37.83)
CIE-LCHlch(41.38, 76.52, 330.37°)
OKLaboklab(52.36% 0.1899 -0.1044)
OKLCHoklch(52.36% 0.217 331.2)
XYZxyz(23.5006, 12.1012, 34.8093)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FA1 #1FAA28
analogous
#6E1FAA #AA1FA1 #AA1F5C
triadic
#AA1FA1 #A1AA1F #1FA1AA
tetradic
#AA1FA1 #AA6E1F #1FAA28 #1F5CAA
square
#AA1FA1 #AA6E1F #1FAA28 #1F5CAA
split-complementary
#AA1FA1 #5CAA1F #1FAA6E
monochromatic
#420C3F #761670 #AA1FA1 #D92DCE #E261DA

Accessibility & contrast

On white

6.14
#AA1FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA1FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FA1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FA1#FFFFFF#000000##FFFFFF
##AA1FA11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A4
Deuteranopia (green-blind)
#4F689E
Tritanopia (blue-blind)
#B13461
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa1fa1;
/* rgb */ color: rgb(170, 31, 161);
/* oklch */ color: oklch(52.4% 0.217 331.2);
Tailwind
colors: {
  custom: {
    50: '#c76ebd',
    500: '#aa1fa1',
    950: '#000000',
  },
}
SCSS
$custom: #aa1fa1;
$custom-light: #c76ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1fa1",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 303.885,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52355,
    "c": 0.21672,
    "h": 331.2
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#AA1FA1
secondary
#5EC765
accent
#EC473C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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