#AA4AA2#AA4AA2

#AA4AA2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.5% C 0.166 H 330.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AA4AA2
RGBrgb(170, 74, 162)
HSLhsl(305, 39%, 48%)
HSVhsv(305, 56%, 67%)
CMYKcmyk(0%, 56.5%, 4.7%, 33.3%)
CIE-LABlab(47.05, 50.94, -29.51)
CIE-LCHlch(47.05, 58.87, 329.92°)
OKLaboklab(56.47% 0.1446 -0.0808)
OKLCHoklch(56.47% 0.166 330.8)
XYZxyz(25.5478, 16.0539, 35.9285)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4AA2 #4AAA52
analogous
#824AAA #AA4AA2 #AA4A72
triadic
#AA4AA2 #A2AA4A #4AA2AA
tetradic
#AA4AA2 #AA824A #4AAA52 #4A72AA
square
#AA4AA2 #AA824A #4AAA52 #4A72AA
split-complementary
#AA4AA2 #72AA4A #4AAA82
monochromatic
#552551 #7F3779 #AA4AA2 #C170BA #D39BCF

Accessibility & contrast

On white

4.99
#AA4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AA4AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4AA2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4AA2#FFFFFF#000000##FFFFFF
##AA4AA21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#63749F
Tritanopia (blue-blind)
#B0536F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa4aa2;
/* rgb */ color: rgb(170, 74, 162);
/* oklch */ color: oklch(56.5% 0.166 330.8);
Tailwind
colors: {
  custom: {
    50: '#c682be',
    500: '#aa4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4aa2;
$custom-light: #c682be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4aa2",
  "rgb": {
    "r": 170,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 305,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.16564,
    "h": 330.8
  },
  "luminance": 0.16052
}

Semantic roles & 50–950 ramp

primary
#AA4AA2
secondary
#90C094
accent
#CF6259
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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