#AA4FA4#AA4FA4

#AA4FA4 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.159 H 330.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA4FA4
RGBrgb(170, 79, 164)
HSLhsl(304, 37%, 49%)
HSVhsv(304, 54%, 67%)
CMYKcmyk(0%, 53.5%, 3.5%, 33.3%)
CIE-LABlab(48.03, 48.88, -29.15)
CIE-LCHlch(48.03, 56.91, 329.19°)
OKLaboklab(57.23% 0.138 -0.0798)
OKLCHoklch(57.23% 0.159 330)
XYZxyz(26.0741, 16.8200, 36.9880)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FA4 #4FAA55
analogous
#834FAA #AA4FA4 #AA4F77
triadic
#AA4FA4 #A4AA4F #4FA4AA
tetradic
#AA4FA4 #AA834F #4FAA55 #4F77AA
square
#AA4FA4 #AA834F #4FAA55 #4F77AA
split-complementary
#AA4FA4 #77AA4F #4FAA83
monochromatic
#562853 #803C7C #AA4FA4 #C077BB #D3A0D0

Accessibility & contrast

On white

4.81
#AA4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AA4FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FA4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FA4#FFFFFF#000000##FFFFFF
##AA4FA41.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#6576A1
Tritanopia (blue-blind)
#B05772
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4fa4;
/* rgb */ color: rgb(170, 79, 164);
/* oklch */ color: oklch(57.2% 0.159 330.0);
Tailwind
colors: {
  custom: {
    50: '#c585bf',
    500: '#aa4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fa4;
$custom-light: #c585bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fa4",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 303.956,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57229,
    "c": 0.15944,
    "h": 330
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#AA4FA4
secondary
#95C098
accent
#CD635B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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