#AA81BB#AA81BB

#AA81BB is a light, moderate purple. Relative luminance 0.278; OKLCH L 66.3% C 0.095 H 315.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AA81BB
RGBrgb(170, 129, 187)
HSLhsl(282, 30%, 62%)
HSVhsv(282, 31%, 73%)
CMYKcmyk(9.1%, 31%, 0%, 26.7%)
CIE-LABlab(59.74, 26.36, -24.35)
CIE-LCHlch(59.74, 35.88, 317.27°)
OKLaboklab(66.33% 0.0683 -0.0665)
OKLCHoklch(66.33% 0.095 315.8)
XYZxyz(33.3961, 27.8351, 50.6175)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81BB #92BB81
analogous
#8D81BB #AA81BB #BB81AF
triadic
#AA81BB #BBAA81 #81BBAA
tetradic
#AA81BB #BB8D81 #92BB81 #81AFBB
square
#AA81BB #BB8D81 #92BB81 #81AFBB
split-complementary
#AA81BB #AFBB81 #81BB8D
monochromatic
#6D447E #8F59A5 #AA81BB #C5A9D0 #E0D0E6

Accessibility & contrast

On white

3.20
#AA81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AA81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA81BB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81BB#FFFFFF#000000##000000
##AA81BB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#798DBD
Deuteranopia (green-blind)
#8291B9
Tritanopia (blue-blind)
#A98896
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa81bb;
/* rgb */ color: rgb(170, 129, 187);
/* oklch */ color: oklch(66.3% 0.095 315.8);
Tailwind
colors: {
  custom: {
    50: '#c4a6cf',
    500: '#aa81bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa81bb;
$custom-light: #c4a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81bb",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 282.414,
    "s": 29.897,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66334,
    "c": 0.09537,
    "h": 315.8
  },
  "luminance": 0.27834
}

Semantic roles & 50–950 ramp

primary
#AA81BB
secondary
#C7D7C1
accent
#A93D5C
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AA81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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