#AA5BB1#AA5BB1

#AA5BB1 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.6% C 0.152 H 324.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AA5BB1
RGBrgb(170, 91, 177)
HSLhsl(295, 36%, 53%)
HSVhsv(295, 49%, 69%)
CMYKcmyk(4%, 48.6%, 0%, 30.6%)
CIE-LABlab(50.92, 45.23, -32.26)
CIE-LCHlch(50.92, 55.55, 324.50°)
OKLaboklab(59.56% 0.1231 -0.0888)
OKLCHoklch(59.56% 0.152 324.2)
XYZxyz(28.2537, 19.2039, 43.8049)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BB1 #62B15B
analogous
#7F5BB1 #AA5BB1 #B15B8D
triadic
#AA5BB1 #B1AA5B #5BB1AA
tetradic
#AA5BB1 #B17F5B #62B15B #5B8DB1
square
#AA5BB1 #B17F5B #62B15B #5B8DB1
split-complementary
#AA5BB1 #8DB15B #5BB17F
monochromatic
#5E2F63 #86438C #AA5BB1 #BF84C5 #D5AED8

Accessibility & contrast

On white

4.34
#AA5BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AA5BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BB1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BB1#FFFFFF#000000##000000
##AA5BB11.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5173B4
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#AD657E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa5bb1;
/* rgb */ color: rgb(170, 91, 177);
/* oklch */ color: oklch(59.6% 0.152 324.2);
Tailwind
colors: {
  custom: {
    50: '#c58cc8',
    500: '#aa5bb1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bb1;
$custom-light: #c58cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bb1",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 295.116,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.15177,
    "h": 324.2
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#AA5BB1
secondary
#A4C7A1
accent
#CC5C65
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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