#AA4FA7#AA4FA7

#AA4FA7 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.162 H 328.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA4FA7
RGBrgb(170, 79, 167)
HSLhsl(302, 37%, 49%)
HSVhsv(302, 54%, 67%)
CMYKcmyk(0%, 53.5%, 1.8%, 33.3%)
CIE-LABlab(48.17, 49.42, -30.70)
CIE-LCHlch(48.17, 58.18, 328.15°)
OKLaboklab(57.38% 0.1385 -0.0842)
OKLCHoklch(57.38% 0.162 328.7)
XYZxyz(26.3483, 16.9296, 38.4317)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FA7 #4FAA52
analogous
#804FAA #AA4FA7 #AA4F7A
triadic
#AA4FA7 #A7AA4F #4FA7AA
tetradic
#AA4FA7 #AA804F #4FAA52 #4F7AAA
square
#AA4FA7 #AA804F #4FAA52 #4F7AAA
split-complementary
#AA4FA7 #7AAA4F #4FAA80
monochromatic
#562855 #803C7E #AA4FA7 #C077BD #D3A0D1

Accessibility & contrast

On white

4.79
#AA4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AA4FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FA7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FA7#FFFFFF#000000##FFFFFF
##AA4FA71.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486BAA
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#AF5874
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4fa7;
/* rgb */ color: rgb(170, 79, 167);
/* oklch */ color: oklch(57.4% 0.162 328.7);
Tailwind
colors: {
  custom: {
    50: '#c685c1',
    500: '#aa4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fa7;
$custom-light: #c685c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fa7",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 301.978,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.1621,
    "h": 328.7
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#AA4FA7
secondary
#95C096
accent
#CD5F5B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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