#AA50AA#AA50AA

#AA50AA is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.163 H 327.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA50AA
RGBrgb(170, 80, 170)
HSLhsl(300, 36%, 49%)
HSVhsv(300, 53%, 67%)
CMYKcmyk(0%, 52.9%, 0%, 33.3%)
CIE-LABlab(48.49, 49.47, -31.96)
CIE-LCHlch(48.49, 58.90, 327.14°)
OKLaboklab(57.66% 0.1376 -0.0878)
OKLCHoklch(57.66% 0.163 327.4)
XYZxyz(26.7015, 17.1872, 39.9334)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50AA #50AA50
analogous
#7D50AA #AA50AA #AA507D
triadic
#AA50AA #AAAA50 #50AAAA
tetradic
#AA50AA #AA7D50 #50AA50 #507DAA
square
#AA50AA #AA7D50 #50AA50 #507DAA
split-complementary
#AA50AA #7DAA50 #50AA7D
monochromatic
#572957 #803C80 #AA50AA #BF78BF #D3A1D3

Accessibility & contrast

On white

4.73
#AA50AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AA50AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA50AA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50AA#FFFFFF#000000##FFFFFF
##AA50AA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#AF5A76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa50aa;
/* rgb */ color: rgb(170, 80, 170);
/* oklch */ color: oklch(57.7% 0.163 327.4);
Tailwind
colors: {
  custom: {
    50: '#c685c3',
    500: '#aa50aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa50aa;
$custom-light: #c685c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50aa",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.16321,
    "h": 327.4
  },
  "luminance": 0.17186
}

Semantic roles & 50–950 ramp

primary
#AA50AA
secondary
#96C096
accent
#CC5C5C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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