#AA4FA8#AA4FA8

#AA4FA8 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.163 H 328.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA4FA8
RGBrgb(170, 79, 168)
HSLhsl(301, 37%, 49%)
HSVhsv(301, 54%, 67%)
CMYKcmyk(0%, 53.5%, 1.2%, 33.3%)
CIE-LABlab(48.22, 49.60, -31.22)
CIE-LCHlch(48.22, 58.61, 327.81°)
OKLaboklab(57.43% 0.1387 -0.0857)
OKLCHoklch(57.43% 0.163 328.3)
XYZxyz(26.4411, 16.9667, 38.9204)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FA8 #4FAA51
analogous
#7F4FAA #AA4FA8 #AA4F7B
triadic
#AA4FA8 #A8AA4F #4FA8AA
tetradic
#AA4FA8 #AA7F4F #4FAA51 #4F7BAA
square
#AA4FA8 #AA7F4F #4FAA51 #4F7BAA
split-complementary
#AA4FA8 #7BAA4F #4FAA7F
monochromatic
#562855 #803C7F #AA4FA8 #C077BE #D3A0D2

Accessibility & contrast

On white

4.78
#AA4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA4FA8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FA8#FFFFFF#000000##FFFFFF
##AA4FA81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#6377A5
Tritanopia (blue-blind)
#AF5974
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4fa8;
/* rgb */ color: rgb(170, 79, 168);
/* oklch */ color: oklch(57.4% 0.163 328.3);
Tailwind
colors: {
  custom: {
    50: '#c685c2',
    500: '#aa4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fa8;
$custom-light: #c685c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fa8",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 301.319,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.163,
    "h": 328.3
  },
  "luminance": 0.16965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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