#AA50BB#AA50BB

#AA50BB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.179 H 321.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AA50BB
RGBrgb(170, 80, 187)
HSLhsl(290, 44%, 52%)
HSVhsv(290, 57%, 73%)
CMYKcmyk(9.1%, 57.2%, 0%, 26.7%)
CIE-LABlab(49.34, 52.68, -40.56)
CIE-LCHlch(49.34, 66.49, 322.41°)
OKLaboklab(58.56% 0.1394 -0.1127)
OKLCHoklch(58.56% 0.179 321)
XYZxyz(28.4148, 17.8725, 48.9571)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50BB #61BB50
analogous
#7450BB #AA50BB #BB5097
triadic
#AA50BB #BBAA50 #50BBAA
tetradic
#AA50BB #BB7450 #61BB50 #5097BB
square
#AA50BB #BB7450 #61BB50 #5097BB
split-complementary
#AA50BB #97BB50 #50BB74
monochromatic
#5E2868 #863A94 #AA50BB #BF7CCC #D5A8DD

Accessibility & contrast

On white

4.59
#AA50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AA50BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA50BB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50BB#FFFFFF#000000##FFFFFF
##AA50BB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#5A79B8
Tritanopia (blue-blind)
#AB607E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa50bb;
/* rgb */ color: rgb(170, 80, 187);
/* oklch */ color: oklch(58.6% 0.179 321.0);
Tailwind
colors: {
  custom: {
    50: '#c686d0',
    500: '#aa50bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa50bb;
$custom-light: #c686d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50bb",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 290.467,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.17923,
    "h": 321
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#AA50BB
secondary
#A4CB9C
accent
#D45468
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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