#AA87BB#AA87BB

#AA87BB is a light, moderate purple. Relative luminance 0.295; OKLCH L 67.4% C 0.085 H 314.5°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AA87BB
RGBrgb(170, 135, 187)
HSLhsl(280, 28%, 63%)
HSVhsv(280, 28%, 73%)
CMYKcmyk(9.1%, 27.8%, 0%, 26.7%)
CIE-LABlab(61.19, 22.96, -22.13)
CIE-LCHlch(61.19, 31.89, 316.06°)
OKLaboklab(67.44% 0.0592 -0.0603)
OKLCHoklch(67.44% 0.085 314.5)
XYZxyz(34.2098, 29.4624, 50.8887)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87BB #98BB87
analogous
#9087BB #AA87BB #BB87B2
triadic
#AA87BB #BBAA87 #87BBAA
tetradic
#AA87BB #BB9087 #98BB87 #87B2BB
square
#AA87BB #BB9087 #98BB87 #87B2BB
split-complementary
#AA87BB #B2BB87 #87BB90
monochromatic
#6D487F #8E60A5 #AA87BB #C6AED1 #E1D5E7

Accessibility & contrast

On white

3.05
#AA87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AA87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA87BB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87BB#FFFFFF#000000##000000
##AA87BB1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BD
Deuteranopia (green-blind)
#8795B9
Tritanopia (blue-blind)
#A98D99
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa87bb;
/* rgb */ color: rgb(170, 135, 187);
/* oklch */ color: oklch(67.4% 0.085 314.5);
Tailwind
colors: {
  custom: {
    50: '#c4aacf',
    500: '#aa87bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa87bb;
$custom-light: #c4aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87bb",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 280.385,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6744,
    "c": 0.0845,
    "h": 314.5
  },
  "luminance": 0.29462
}

Semantic roles & 50–950 ramp

primary
#AA87BB
secondary
#CCD8C6
accent
#A63F61
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #AA87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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