#AA5BC0#AA5BC0

#AA5BC0 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.3% C 0.167 H 318.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA5BC0
RGBrgb(170, 91, 192)
HSLhsl(287, 44%, 55%)
HSVhsv(287, 53%, 75%)
CMYKcmyk(11.5%, 52.6%, 0%, 24.7%)
CIE-LABlab(51.65, 48.20, -39.81)
CIE-LCHlch(51.65, 62.51, 320.45°)
OKLaboklab(60.34% 0.1251 -0.1106)
OKLCHoklch(60.34% 0.167 318.5)
XYZxyz(29.8318, 19.8351, 52.1161)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BC0 #71C05B
analogous
#785BC0 #AA5BC0 #C05BA3
triadic
#AA5BC0 #C0AA5B #5BC0AA
tetradic
#AA5BC0 #C0785B #71C05B #5BA3C0
square
#AA5BC0 #C0785B #71C05B #5BA3C0
split-complementary
#AA5BC0 #A3C05B #5BC078
monochromatic
#642D74 #8B3EA0 #AA5BC0 #C187D1 #D8B3E2

Accessibility & contrast

On white

4.23
#AA5BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AA5BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BC0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BC0#FFFFFF#000000##000000
##AA5BC01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4776C3
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#AA6A85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5bc0;
/* rgb */ color: rgb(170, 91, 192);
/* oklch */ color: oklch(60.3% 0.167 318.5);
Tailwind
colors: {
  custom: {
    50: '#c58cd3',
    500: '#aa5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bc0;
$custom-light: #c58cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bc0",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 286.931,
    "s": 44.493,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60335,
    "c": 0.16696,
    "h": 318.5
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#AA5BC0
secondary
#B0D0A6
accent
#D45470
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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