#AA1FA0#AA1FA0

#AA1FA0 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.216 H 331.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA1FA0
RGBrgb(170, 31, 160)
HSLhsl(304, 69%, 39%)
HSVhsv(304, 82%, 67%)
CMYKcmyk(0%, 81.8%, 5.9%, 33.3%)
CIE-LABlab(41.32, 66.36, -37.32)
CIE-LCHlch(41.32, 76.13, 330.65°)
OKLaboklab(52.3% 0.1899 -0.1029)
OKLCHoklch(52.3% 0.216 331.5)
XYZxyz(23.4128, 12.0661, 34.3468)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FA0 #1FAA29
analogous
#6F1FAA #AA1FA0 #AA1F5A
triadic
#AA1FA0 #A0AA1F #1FA0AA
tetradic
#AA1FA0 #AA6F1F #1FAA29 #1F5AAA
square
#AA1FA0 #AA6F1F #1FAA29 #1F5AAA
split-complementary
#AA1FA0 #5AAA1F #1FAA6F
monochromatic
#420C3F #76166F #AA1FA0 #D92DCC #E261D9

Accessibility & contrast

On white

6.15
#AA1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA1FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FA0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FA0#FFFFFF#000000##FFFFFF
##AA1FA01.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C55A3
Deuteranopia (green-blind)
#50689D
Tritanopia (blue-blind)
#B13360
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1fa0;
/* rgb */ color: rgb(170, 31, 160);
/* oklch */ color: oklch(52.3% 0.216 331.5);
Tailwind
colors: {
  custom: {
    50: '#c76ebc',
    500: '#aa1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #aa1fa0;
$custom-light: #c76ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1fa0",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 304.317,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.21602,
    "h": 331.5
  },
  "luminance": 0.12064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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