#AA59BB#AA59BB

#AA59BB is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.8% C 0.165 H 320.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AA59BB
RGBrgb(170, 89, 187)
HSLhsl(290, 42%, 54%)
HSVhsv(290, 52%, 73%)
CMYKcmyk(9.1%, 52.4%, 0%, 26.7%)
CIE-LABlab(51.01, 48.22, -37.92)
CIE-LCHlch(51.01, 61.34, 321.81°)
OKLaboklab(59.78% 0.1273 -0.1051)
OKLCHoklch(59.78% 0.165 320.4)
XYZxyz(29.1185, 19.2799, 49.1916)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA59BB #6ABB59
analogous
#7959BB #AA59BB #BB599B
triadic
#AA59BB #BBAA59 #59BBAA
tetradic
#AA59BB #BB7959 #6ABB59 #599BBB
square
#AA59BB #BB7959 #6ABB59 #599BBB
split-complementary
#AA59BB #9BBB59 #59BB79
monochromatic
#622D6D #893E98 #AA59BB #C084CD #D6B0DF

Accessibility & contrast

On white

4.32
#AA59BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AA59BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA59BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA59BB#FFFFFF#000000##000000
##AA59BB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#617DB8
Tritanopia (blue-blind)
#AB6782
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa59bb;
/* rgb */ color: rgb(170, 89, 187);
/* oklch */ color: oklch(59.8% 0.165 320.4);
Tailwind
colors: {
  custom: {
    50: '#c58bd0',
    500: '#aa59bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa59bb;
$custom-light: #c58bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa59bb",
  "rgb": {
    "r": 170,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 289.592,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.16508,
    "h": 320.4
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#AA59BB
secondary
#AACDA3
accent
#D2566C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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