#AA1FA3#AA1FA3

#AA1FA3 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.218 H 330.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AA1FA3
RGBrgb(170, 31, 163)
HSLhsl(303, 69%, 39%)
HSVhsv(303, 82%, 67%)
CMYKcmyk(0%, 81.8%, 4.1%, 33.3%)
CIE-LABlab(41.49, 66.82, -38.85)
CIE-LCHlch(41.49, 77.29, 329.82°)
OKLaboklab(52.47% 0.1899 -0.1074)
OKLCHoklch(52.47% 0.218 330.5)
XYZxyz(23.6784, 12.1723, 35.7456)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FA3 #1FAA26
analogous
#6C1FAA #AA1FA3 #AA1F5D
triadic
#AA1FA3 #A3AA1F #1FA3AA
tetradic
#AA1FA3 #AA6C1F #1FAA26 #1F5DAA
square
#AA1FA3 #AA6C1F #1FAA26 #1F5DAA
split-complementary
#AA1FA3 #5DAA1F #1FAA6C
monochromatic
#420C40 #761671 #AA1FA3 #D92DD0 #E261DC

Accessibility & contrast

On white

6.12
#AA1FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA1FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FA3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FA3#FFFFFF#000000##FFFFFF
##AA1FA31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0256A6
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#B13562
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa1fa3;
/* rgb */ color: rgb(170, 31, 163);
/* oklch */ color: oklch(52.5% 0.218 330.5);
Tailwind
colors: {
  custom: {
    50: '#c76ebf',
    500: '#aa1fa3',
    950: '#000000',
  },
}
SCSS
$custom: #aa1fa3;
$custom-light: #c76ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1fa3",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 163
  },
  "hsl": {
    "h": 303.022,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.21815,
    "h": 330.5
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#AA1FA3
secondary
#5EC763
accent
#EC453C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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