#AA5ABD#AA5ABD

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

Color values

HEX#AA5ABD
RGBrgb(170, 90, 189)
HSLhsl(288, 43%, 55%)
HSVhsv(288, 52%, 74%)
CMYKcmyk(10.1%, 52.4%, 0%, 25.9%)
CIE-LABlab(51.31, 48.10, -38.62)
CIE-LCHlch(51.31, 61.69, 321.24°)
OKLaboklab(60.03% 0.1261 -0.1071)
OKLCHoklch(60.03% 0.165 319.7)
XYZxyz(29.4179, 19.5337, 50.3550)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ABD #6DBD5A
analogous
#795ABD #AA5ABD #BD5A9E
triadic
#AA5ABD #BDAA5A #5ABDAA
tetradic
#AA5ABD #BD795A #6DBD5A #5A9EBD
square
#AA5ABD #BD795A #6DBD5A #5A9EBD
split-complementary
#AA5ABD #9EBD5A #5ABD79
monochromatic
#632D70 #8A3E9C #AA5ABD #C186CE #D7B1E0

Accessibility & contrast

On white

4.28
#AA5ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5ABD#FFFFFF#000000##000000
##AA5ABD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#AB6883
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5abd;
/* rgb */ color: rgb(170, 90, 189);
/* oklch */ color: oklch(60.0% 0.165 319.7);
Tailwind
colors: {
  custom: {
    50: '#c58cd1',
    500: '#aa5abd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5abd;
$custom-light: #c58cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5abd",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 288.485,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.16548,
    "h": 319.7
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#AA5ABD
secondary
#ADCEA5
accent
#D3556D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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