#AA1FA5#AA1FA5

#AA1FA5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.220 H 329.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA1FA5
RGBrgb(170, 31, 165)
HSLhsl(302, 69%, 39%)
HSVhsv(302, 82%, 67%)
CMYKcmyk(0%, 81.8%, 2.9%, 33.3%)
CIE-LABlab(41.60, 67.12, -39.87)
CIE-LCHlch(41.60, 78.07, 329.29°)
OKLaboklab(52.59% 0.1898 -0.1103)
OKLCHoklch(52.59% 0.22 329.8)
XYZxyz(23.8590, 12.2446, 36.6968)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FA5 #1FAA24
analogous
#691FAA #AA1FA5 #AA1F60
triadic
#AA1FA5 #A5AA1F #1FA5AA
tetradic
#AA1FA5 #AA691F #1FAA24 #1F60AA
square
#AA1FA5 #AA691F #1FAA24 #1F60AA
split-complementary
#AA1FA5 #60AA1F #1FAA69
monochromatic
#420C41 #761673 #AA1FA5 #D92DD3 #E261DE

Accessibility & contrast

On white

6.09
#AA1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA1FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FA5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FA5#FFFFFF#000000##FFFFFF
##AA1FA51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4D68A2
Tritanopia (blue-blind)
#B03663
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa1fa5;
/* rgb */ color: rgb(170, 31, 165);
/* oklch */ color: oklch(52.6% 0.220 329.8);
Tailwind
colors: {
  custom: {
    50: '#c76ec0',
    500: '#aa1fa5',
    950: '#000000',
  },
}
SCSS
$custom: #aa1fa5;
$custom-light: #c76ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1fa5",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 302.158,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.21958,
    "h": 329.8
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA1FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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