#AA4FA6#AA4FA6

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

Color values

HEX#AA4FA6
RGBrgb(170, 79, 166)
HSLhsl(303, 37%, 49%)
HSVhsv(303, 54%, 67%)
CMYKcmyk(0%, 53.5%, 2.4%, 33.3%)
CIE-LABlab(48.12, 49.24, -30.19)
CIE-LCHlch(48.12, 57.75, 328.49°)
OKLaboklab(57.33% 0.1384 -0.0827)
OKLCHoklch(57.33% 0.161 329.1)
XYZxyz(26.2562, 16.8928, 37.9467)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FA6 #4FAA53
analogous
#814FAA #AA4FA6 #AA4F79
triadic
#AA4FA6 #A6AA4F #4FA6AA
tetradic
#AA4FA6 #AA814F #4FAA53 #4F79AA
square
#AA4FA6 #AA814F #4FAA53 #4F79AA
split-complementary
#AA4FA6 #79AA4F #4FAA81
monochromatic
#562854 #803C7D #AA4FA6 #C077BC #D3A0D1

Accessibility & contrast

On white

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

On black

4.38
#AA4FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AA4FA6#FFFFFF#000000##FFFFFF
##AA4FA61.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#6477A3
Tritanopia (blue-blind)
#AF5873
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4fa6;
/* rgb */ color: rgb(170, 79, 166);
/* oklch */ color: oklch(57.3% 0.161 329.1);
Tailwind
colors: {
  custom: {
    50: '#c685c0',
    500: '#aa4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fa6;
$custom-light: #c685c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fa6",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 302.637,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57327,
    "c": 0.16121,
    "h": 329.1
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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