#AA5BBA#AA5BBA

#AA5BBA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.0% C 0.161 H 320.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA5BBA
RGBrgb(170, 91, 186)
HSLhsl(290, 41%, 54%)
HSVhsv(290, 51%, 73%)
CMYKcmyk(8.6%, 51.1%, 0%, 27.1%)
CIE-LABlab(51.35, 46.99, -36.81)
CIE-LCHlch(51.35, 59.69, 321.93°)
OKLaboklab(60.02% 0.1244 -0.1019)
OKLCHoklch(60.02% 0.161 320.7)
XYZxyz(29.1805, 19.5746, 48.6860)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BBA #6BBA5B
analogous
#7B5BBA #AA5BBA #BA5B9B
triadic
#AA5BBA #BAAA5B #5BBAAA
tetradic
#AA5BBA #BA7B5B #6BBA5B #5B9BBA
square
#AA5BBA #BA7B5B #6BBA5B #5B9BBA
split-complementary
#AA5BBA #9BBA5B #5BBA7B
monochromatic
#622E6D #894098 #AA5BBA #C086CC #D7B1DE

Accessibility & contrast

On white

4.27
#AA5BBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AA5BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BBA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BBA#FFFFFF#000000##000000
##AA5BBA1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#AB6882
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5bba;
/* rgb */ color: rgb(170, 91, 186);
/* oklch */ color: oklch(60.0% 0.161 320.7);
Tailwind
colors: {
  custom: {
    50: '#c58ccf',
    500: '#aa5bba',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bba;
$custom-light: #c58ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bba",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 289.895,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60019,
    "c": 0.1608,
    "h": 320.7
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#AA5BBA
secondary
#ABCDA4
accent
#D1576C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA5BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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