#AA4FA1#AA4FA1

#AA4FA1 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.1% C 0.157 H 331.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AA4FA1
RGBrgb(170, 79, 161)
HSLhsl(306, 37%, 49%)
HSVhsv(306, 54%, 67%)
CMYKcmyk(0%, 53.5%, 5.3%, 33.3%)
CIE-LABlab(47.90, 48.35, -27.59)
CIE-LCHlch(47.90, 55.67, 330.29°)
OKLaboklab(57.08% 0.1375 -0.0753)
OKLCHoklch(57.08% 0.157 331.3)
XYZxyz(25.8064, 16.7129, 35.5780)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FA1 #4FAA58
analogous
#864FAA #AA4FA1 #AA4F74
triadic
#AA4FA1 #A1AA4F #4FA1AA
tetradic
#AA4FA1 #AA864F #4FAA58 #4F74AA
square
#AA4FA1 #AA864F #4FAA58 #4F74AA
split-complementary
#AA4FA1 #74AA4F #4FAA86
monochromatic
#562852 #803C79 #AA4FA1 #C077B8 #D3A0CE

Accessibility & contrast

On white

4.84
#AA4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AA4FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FA1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FA1#FFFFFF#000000##FFFFFF
##AA4FA11.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA4
Deuteranopia (green-blind)
#66769E
Tritanopia (blue-blind)
#B05671
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4fa1;
/* rgb */ color: rgb(170, 79, 161);
/* oklch */ color: oklch(57.1% 0.157 331.3);
Tailwind
colors: {
  custom: {
    50: '#c584bd',
    500: '#aa4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fa1;
$custom-light: #c584bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fa1",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 305.934,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.15681,
    "h": 331.3
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#AA4FA1
secondary
#95C099
accent
#CD665B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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