#AA50B2#AA50B2

#AA50B2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.171 H 324.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AA50B2
RGBrgb(170, 80, 178)
HSLhsl(295, 39%, 51%)
HSVhsv(295, 55%, 70%)
CMYKcmyk(4.5%, 55.1%, 0%, 30.2%)
CIE-LABlab(48.88, 50.96, -36.04)
CIE-LCHlch(48.88, 62.42, 324.73°)
OKLaboklab(58.07% 0.1386 -0.0996)
OKLCHoklch(58.07% 0.171 324.3)
XYZxyz(27.4814, 17.4992, 44.0410)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50B2 #58B250
analogous
#7950B2 #AA50B2 #B25089
triadic
#AA50B2 #B2AA50 #50B2AA
tetradic
#AA50B2 #B27950 #58B250 #5089B2
square
#AA50B2 #B27950 #58B250 #5089B2
split-complementary
#AA50B2 #89B250 #50B279
monochromatic
#5A295E #823C89 #AA50B2 #BF7AC5 #D3A5D7

Accessibility & contrast

On white

4.67
#AA50B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AA50B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA50B2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50B2#FFFFFF#000000##FFFFFF
##AA50B21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#AD5D79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa50b2;
/* rgb */ color: rgb(170, 80, 178);
/* oklch */ color: oklch(58.1% 0.171 324.3);
Tailwind
colors: {
  custom: {
    50: '#c685c9',
    500: '#aa50b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa50b2;
$custom-light: #c685c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50b2",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 295.102,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.17064,
    "h": 324.3
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#AA50B2
secondary
#9DC599
accent
#CF5963
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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