#AA4FA5#AA4FA5

#AA4FA5 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.160 H 329.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AA4FA5
RGBrgb(170, 79, 165)
HSLhsl(303, 37%, 49%)
HSVhsv(303, 54%, 67%)
CMYKcmyk(0%, 53.5%, 2.9%, 33.3%)
CIE-LABlab(48.08, 49.06, -29.67)
CIE-LCHlch(48.08, 57.33, 328.84°)
OKLaboklab(57.28% 0.1382 -0.0813)
OKLCHoklch(57.28% 0.16 329.5)
XYZxyz(26.1648, 16.8562, 37.4655)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FA5 #4FAA54
analogous
#824FAA #AA4FA5 #AA4F78
triadic
#AA4FA5 #A5AA4F #4FA5AA
tetradic
#AA4FA5 #AA824F #4FAA54 #4F78AA
square
#AA4FA5 #AA824F #4FAA54 #4F78AA
split-complementary
#AA4FA5 #78AA4F #4FAA82
monochromatic
#562854 #803C7C #AA4FA5 #C077BC #D3A0D0

Accessibility & contrast

On white

4.80
#AA4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AA4FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FA5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FA5#FFFFFF#000000##FFFFFF
##AA4FA51.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#6577A2
Tritanopia (blue-blind)
#B05873
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4fa5;
/* rgb */ color: rgb(170, 79, 165);
/* oklch */ color: oklch(57.3% 0.160 329.5);
Tailwind
colors: {
  custom: {
    50: '#c685c0',
    500: '#aa4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fa5;
$custom-light: #c685c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fa5",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 303.297,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.16032,
    "h": 329.5
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#AA4FA5
secondary
#95C097
accent
#CD615B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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