#AA4FA2#AA4FA2

#AA4FA2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.1% C 0.158 H 330.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AA4FA2
RGBrgb(170, 79, 162)
HSLhsl(305, 37%, 49%)
HSVhsv(305, 54%, 67%)
CMYKcmyk(0%, 53.5%, 4.7%, 33.3%)
CIE-LABlab(47.94, 48.53, -28.11)
CIE-LCHlch(47.94, 56.08, 329.92°)
OKLaboklab(57.13% 0.1377 -0.0768)
OKLCHoklch(57.13% 0.158 330.8)
XYZxyz(25.8950, 16.7483, 36.0442)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FA2 #4FAA57
analogous
#854FAA #AA4FA2 #AA4F75
triadic
#AA4FA2 #A2AA4F #4FA2AA
tetradic
#AA4FA2 #AA854F #4FAA57 #4F75AA
square
#AA4FA2 #AA854F #4FAA57 #4F75AA
split-complementary
#AA4FA2 #75AA4F #4FAA85
monochromatic
#562852 #803C7A #AA4FA2 #C077B9 #D3A0CF

Accessibility & contrast

On white

4.83
#AA4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AA4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FA2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FA2#FFFFFF#000000##FFFFFF
##AA4FA21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#B05771
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4fa2;
/* rgb */ color: rgb(170, 79, 162);
/* oklch */ color: oklch(57.1% 0.158 330.8);
Tailwind
colors: {
  custom: {
    50: '#c584be',
    500: '#aa4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fa2;
$custom-light: #c584be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fa2",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 305.275,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.15768,
    "h": 330.8
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#AA4FA2
secondary
#95C099
accent
#CD655B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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