#AA87AA#AA87AA

#AA87AA is a light, moderate purple. Relative luminance 0.288; OKLCH L 66.8% C 0.065 H 326.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AA87AA
RGBrgb(170, 135, 170)
HSLhsl(300, 17%, 60%)
HSVhsv(300, 21%, 67%)
CMYKcmyk(0%, 20.6%, 0%, 33.3%)
CIE-LABlab(60.58, 19.52, -13.39)
CIE-LCHlch(60.58, 23.67, 325.55°)
OKLaboklab(66.78% 0.0539 -0.0359)
OKLCHoklch(66.78% 0.065 326.3)
XYZxyz(32.4964, 28.7770, 41.8651)
Luminance0.2878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87AA #87AA87
analogous
#9987AA #AA87AA #AA8799
triadic
#AA87AA #AAAA87 #87AAAA
tetradic
#AA87AA #AA9987 #87AA87 #8799AA
square
#AA87AA #AA9987 #87AA87 #8799AA
split-complementary
#AA87AA #99AA87 #87AA99
monochromatic
#6B4C6B #8F658F #AA87AA #C3ABC3 #DDCFDD

Accessibility & contrast

On white

3.11
#AA87AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#AA87AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA87AA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87AA#FFFFFF#000000##000000
##AA87AA1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FAB
Deuteranopia (green-blind)
#8D94A9
Tritanopia (blue-blind)
#AC8A93
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa87aa;
/* rgb */ color: rgb(170, 135, 170);
/* oklch */ color: oklch(66.8% 0.065 326.3);
Tailwind
colors: {
  custom: {
    50: '#c3aac3',
    500: '#aa87aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa87aa;
$custom-light: #c3aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87aa",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 17.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66778,
    "c": 0.06475,
    "h": 326.3
  },
  "luminance": 0.28776
}

Semantic roles & 50–950 ramp

primary
#AA87AA
secondary
#C0CDC0
accent
#BA6E6E
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#121012
muted
#817F81

Preview Lab

Preview with #AA87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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