#AA55AA#AA55AA

#AA55AA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.4% C 0.155 H 327.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AA55AA
RGBrgb(170, 85, 170)
HSLhsl(300, 33%, 50%)
HSVhsv(300, 50%, 67%)
CMYKcmyk(0%, 50%, 0%, 33.3%)
CIE-LABlab(49.43, 46.98, -30.50)
CIE-LCHlch(49.43, 56.01, 327.01°)
OKLaboklab(58.35% 0.1305 -0.0837)
OKLCHoklch(58.35% 0.155 327.3)
XYZxyz(27.0813, 17.9468, 40.0601)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55AA #55AA55
analogous
#7F55AA #AA55AA #AA5580
triadic
#AA55AA #AAAA55 #55AAAA
tetradic
#AA55AA #AA8055 #55AA55 #557FAA
square
#AA55AA #AA8055 #55AA55 #557FAA
split-complementary
#AA55AA #80AA55 #55AA80
monochromatic
#582C58 #814181 #AA55AA #BE7EBE #D3A7D3

Accessibility & contrast

On white

4.58
#AA55AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AA55AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55AA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55AA#FFFFFF#000000##000000
##AA55AA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#6679A7
Tritanopia (blue-blind)
#AE5E78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa55aa;
/* rgb */ color: rgb(170, 85, 170);
/* oklch */ color: oklch(58.4% 0.155 327.3);
Tailwind
colors: {
  custom: {
    50: '#c588c3',
    500: '#aa55aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa55aa;
$custom-light: #c588c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55aa",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 33.333,
    "l": 50
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.15506,
    "h": 327.3
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#AA55AA
secondary
#9AC09A
accent
#C95E5E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA55AA

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

Preview Lab → · Contrast checker → · Palette generator →

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