#AA5ABB#AA5ABB

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

Color values

HEX#AA5ABB
RGBrgb(170, 90, 187)
HSLhsl(289, 42%, 54%)
HSVhsv(289, 52%, 73%)
CMYKcmyk(9.1%, 51.9%, 0%, 26.7%)
CIE-LABlab(51.21, 47.70, -37.62)
CIE-LCHlch(51.21, 60.75, 321.74°)
OKLaboklab(59.93% 0.1259 -0.1042)
OKLCHoklch(59.93% 0.163 320.4)
XYZxyz(29.2023, 19.4474, 49.2196)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ABB #6BBB5A
analogous
#7A5ABB #AA5ABB #BB5A9B
triadic
#AA5ABB #BBAA5A #5ABBAA
tetradic
#AA5ABB #BB7A5A #6BBB5A #5A9BBB
square
#AA5ABB #BB7A5A #6BBB5A #5A9BBB
split-complementary
#AA5ABB #9BBB5A #5ABB7A
monochromatic
#622D6D #893F99 #AA5ABB #C085CD #D7B1DF

Accessibility & contrast

On white

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

On black

4.89
#AA5ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5ABB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5ABB#FFFFFF#000000##000000
##AA5ABB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#AB6782
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5abb;
/* rgb */ color: rgb(170, 90, 187);
/* oklch */ color: oklch(59.9% 0.163 320.4);
Tailwind
colors: {
  custom: {
    50: '#c58cd0',
    500: '#aa5abb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5abb;
$custom-light: #c58cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5abb",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 289.485,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.16345,
    "h": 320.4
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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