#AA1FAA#AA1FAA

#AA1FAA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.223 H 328.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AA1FAA
RGBrgb(170, 31, 170)
HSLhsl(300, 69%, 39%)
HSVhsv(300, 82%, 67%)
CMYKcmyk(0%, 81.8%, 0%, 33.3%)
CIE-LABlab(41.89, 67.91, -42.39)
CIE-LCHlch(41.89, 80.05, 328.02°)
OKLaboklab(52.89% 0.1896 -0.1177)
OKLCHoklch(52.89% 0.223 328.2)
XYZxyz(24.3230, 12.4302, 39.1406)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FAA #1FAA1F
analogous
#651FAA #AA1FAA #AA1F65
triadic
#AA1FAA #AAAA1F #1FAAAA
tetradic
#AA1FAA #AA651F #1FAA1F #1F65AA
square
#AA1FAA #AA651F #1FAA1F #1F65AA
split-complementary
#AA1FAA #65AA1F #1FAA65
monochromatic
#420C42 #761676 #AA1FAA #D92DD9 #E261E2

Accessibility & contrast

On white

6.02
#AA1FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AA1FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FAA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FAA#FFFFFF#000000##FFFFFF
##AA1FAA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#B03966
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa1faa;
/* rgb */ color: rgb(170, 31, 170);
/* oklch */ color: oklch(52.9% 0.223 328.2);
Tailwind
colors: {
  custom: {
    50: '#c76ec4',
    500: '#aa1faa',
    950: '#000000',
  },
}
SCSS
$custom: #aa1faa;
$custom-light: #c76ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1faa",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.22318,
    "h": 328.2
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#AA1FAA
secondary
#5EC75E
accent
#EC3C3C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AA1FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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