#AA4AAF#AA4AAF

#AA4AAF is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.177 H 325.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA4AAF
RGBrgb(170, 74, 175)
HSLhsl(297, 41%, 49%)
HSVhsv(297, 58%, 69%)
CMYKcmyk(2.9%, 57.7%, 0%, 31.4%)
CIE-LABlab(47.68, 53.26, -36.19)
CIE-LCHlch(47.68, 64.39, 325.81°)
OKLaboklab(57.14% 0.1462 -0.1)
OKLCHoklch(57.14% 0.177 325.6)
XYZxyz(26.7636, 16.5403, 42.3320)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4AAF #4FAF4A
analogous
#784AAF #AA4AAF #AF4A82
triadic
#AA4AAF #AFAA4A #4AAFAA
tetradic
#AA4AAF #AF784A #4FAF4A #4A82AF
square
#AA4AAF #AF784A #4FAF4A #4A82AF
split-complementary
#AA4AAF #82AF4A #4AAF78
monochromatic
#562659 #803884 #AA4AAF #C073C4 #D39ED6

Accessibility & contrast

On white

4.87
#AA4AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AA4AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4AAF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4AAF#FFFFFF#000000##FFFFFF
##AA4AAF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#AE5776
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4aaf;
/* rgb */ color: rgb(170, 74, 175);
/* oklch */ color: oklch(57.1% 0.177 325.6);
Tailwind
colors: {
  custom: {
    50: '#c682c7',
    500: '#aa4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #aa4aaf;
$custom-light: #c682c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4aaf",
  "rgb": {
    "r": 170,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 297.03,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.1771,
    "h": 325.6
  },
  "luminance": 0.16539
}

Semantic roles & 50–950 ramp

primary
#AA4AAF
secondary
#95C292
accent
#D0575D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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