#AA1FA4#AA1FA4

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

Color values

HEX#AA1FA4
RGBrgb(170, 31, 164)
HSLhsl(303, 69%, 39%)
HSVhsv(303, 82%, 67%)
CMYKcmyk(0%, 81.8%, 3.5%, 33.3%)
CIE-LABlab(41.55, 66.97, -39.36)
CIE-LCHlch(41.55, 77.68, 329.56°)
OKLaboklab(52.53% 0.1899 -0.1089)
OKLCHoklch(52.53% 0.219 330.2)
XYZxyz(23.7683, 12.2083, 36.2194)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FA4 #1FAA25
analogous
#6B1FAA #AA1FA4 #AA1F5F
triadic
#AA1FA4 #A4AA1F #1FA4AA
tetradic
#AA1FA4 #AA6B1F #1FAA25 #1F5FAA
square
#AA1FA4 #AA6B1F #1FAA25 #1F5FAA
split-complementary
#AA1FA4 #5FAA1F #1FAA6B
monochromatic
#420C40 #761672 #AA1FA4 #D92DD1 #E261DD

Accessibility & contrast

On white

6.10
#AA1FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA1FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FA4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FA4#FFFFFF#000000##FFFFFF
##AA1FA41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#B13563
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa1fa4;
/* rgb */ color: rgb(170, 31, 164);
/* oklch */ color: oklch(52.5% 0.219 330.2);
Tailwind
colors: {
  custom: {
    50: '#c76ebf',
    500: '#aa1fa4',
    950: '#000000',
  },
}
SCSS
$custom: #aa1fa4;
$custom-light: #c76ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1fa4",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 164
  },
  "hsl": {
    "h": 302.59,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.21885,
    "h": 330.2
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#AA1FA4
secondary
#5EC762
accent
#EC433C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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