#AA5ABA#AA5ABA

#AA5ABA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.9% C 0.162 H 320.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AA5ABA
RGBrgb(170, 90, 186)
HSLhsl(290, 41%, 54%)
HSVhsv(290, 52%, 73%)
CMYKcmyk(8.6%, 51.6%, 0%, 27.1%)
CIE-LABlab(51.16, 47.50, -37.12)
CIE-LCHlch(51.16, 60.29, 322.00°)
OKLaboklab(59.88% 0.1258 -0.1028)
OKLCHoklch(59.88% 0.162 320.7)
XYZxyz(29.0956, 19.4048, 48.6577)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ABA #6ABA5A
analogous
#7A5ABA #AA5ABA #BA5A9A
triadic
#AA5ABA #BAAA5A #5ABAAA
tetradic
#AA5ABA #BA7A5A #6ABA5A #5A9ABA
square
#AA5ABA #BA7A5A #6ABA5A #5A9ABA
split-complementary
#AA5ABA #9ABA5A #5ABA7A
monochromatic
#622D6C #893F97 #AA5ABA #C085CC #D6B0DE

Accessibility & contrast

On white

4.30
#AA5ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AA5ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5ABA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5ABA#FFFFFF#000000##000000
##AA5ABA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa5aba;
/* rgb */ color: rgb(170, 90, 186);
/* oklch */ color: oklch(59.9% 0.162 320.7);
Tailwind
colors: {
  custom: {
    50: '#c58ccf',
    500: '#aa5aba',
    950: '#000000',
  },
}
SCSS
$custom: #aa5aba;
$custom-light: #c58ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5aba",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 290,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.16243,
    "h": 320.7
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#AA5ABA
secondary
#AACCA3
accent
#D1576B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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