#AA5AAA#AA5AAA

#AA5AAA is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.1% C 0.147 H 327.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AA5AAA
RGBrgb(170, 90, 170)
HSLhsl(300, 32%, 51%)
HSVhsv(300, 47%, 67%)
CMYKcmyk(0%, 47.1%, 0%, 33.3%)
CIE-LABlab(50.41, 44.42, -28.98)
CIE-LCHlch(50.41, 53.03, 326.88°)
OKLaboklab(59.08% 0.1233 -0.0794)
OKLCHoklch(59.08% 0.147 327.2)
XYZxyz(27.4889, 18.7621, 40.1959)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AAA #5AAA5A
analogous
#825AAA #AA5AAA #AA5A82
triadic
#AA5AAA #AAAA5A #5AAAAA
tetradic
#AA5AAA #AA825A #5AAA5A #5A82AA
square
#AA5AAA #AA825A #5AAA5A #5A82AA
split-complementary
#AA5AAA #82AA5A #5AAA82
monochromatic
#5B2F5B #834483 #AA5AAA #BF82BF #D4ABD4

Accessibility & contrast

On white

4.42
#AA5AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AA5AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AAA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AAA#FFFFFF#000000##000000
##AA5AAA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#AE627A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa5aaa;
/* rgb */ color: rgb(170, 90, 170);
/* oklch */ color: oklch(59.1% 0.147 327.2);
Tailwind
colors: {
  custom: {
    50: '#c58bc3',
    500: '#aa5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #aa5aaa;
$custom-light: #c58bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5aaa",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.14667,
    "h": 327.2
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#AA5AAA
secondary
#9EC29E
accent
#C86060
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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