#AA1FA9#AA1FA9

#AA1FA9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.222 H 328.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA1FA9
RGBrgb(170, 31, 169)
HSLhsl(300, 69%, 39%)
HSVhsv(300, 82%, 67%)
CMYKcmyk(0%, 81.8%, 0.6%, 33.3%)
CIE-LABlab(41.83, 67.75, -41.89)
CIE-LCHlch(41.83, 79.65, 328.27°)
OKLaboklab(52.83% 0.1897 -0.1162)
OKLCHoklch(52.83% 0.222 328.5)
XYZxyz(24.2287, 12.3925, 38.6443)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FA9 #1FAA20
analogous
#661FAA #AA1FA9 #AA1F63
triadic
#AA1FA9 #A9AA1F #1FA9AA
tetradic
#AA1FA9 #AA661F #1FAA20 #1F63AA
square
#AA1FA9 #AA661F #1FAA20 #1F63AA
split-complementary
#AA1FA9 #63AA1F #1FAA66
monochromatic
#420C42 #761676 #AA1FA9 #D92DD8 #E261E1

Accessibility & contrast

On white

6.04
#AA1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA1FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FA9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FA9#FFFFFF#000000##FFFFFF
##AA1FA91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#B03866
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa1fa9;
/* rgb */ color: rgb(170, 31, 169);
/* oklch */ color: oklch(52.8% 0.222 328.5);
Tailwind
colors: {
  custom: {
    50: '#c76ec3',
    500: '#aa1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #aa1fa9;
$custom-light: #c76ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1fa9",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 300.432,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.22245,
    "h": 328.5
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#AA1FA9
secondary
#5EC75F
accent
#EC3D3C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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