#AA8BB2#AA8BB2

#AA8BB2 is a light, moderate purple. Relative luminance 0.302; OKLCH L 67.8% C 0.066 H 319.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#AA8BB2
RGBrgb(170, 139, 178)
HSLhsl(288, 20%, 62%)
HSVhsv(288, 22%, 70%)
CMYKcmyk(4.5%, 21.9%, 0%, 30.2%)
CIE-LABlab(61.85, 18.84, -16.02)
CIE-LCHlch(61.85, 24.73, 319.62°)
OKLaboklab(67.84% 0.0503 -0.0433)
OKLCHoklch(67.84% 0.066 319.3)
XYZxyz(33.8449, 30.2262, 46.1622)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BB2 #93B28B
analogous
#978BB2 #AA8BB2 #B28BA7
triadic
#AA8BB2 #B2AA8B #8BB2AA
tetradic
#AA8BB2 #B2978B #93B28B #8BA7B2
square
#AA8BB2 #B2978B #93B28B #8BA7B2
split-complementary
#AA8BB2 #A7B28B #8BB297
monochromatic
#6D4E75 #8F669A #AA8BB2 #C5B0CA #E0D5E3

Accessibility & contrast

On white

2.98
#AA8BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#AA8BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BB2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BB2#FFFFFF#000000##000000
##AA8BB21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8793B4
Deuteranopia (green-blind)
#8D97B1
Tritanopia (blue-blind)
#AB8F98
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa8bb2;
/* rgb */ color: rgb(170, 139, 178);
/* oklch */ color: oklch(67.8% 0.066 319.3);
Tailwind
colors: {
  custom: {
    50: '#c3adc9',
    500: '#aa8bb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bb2;
$custom-light: #c3adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bb2",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 287.692,
    "s": 20.207,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67841,
    "c": 0.06633,
    "h": 319.3
  },
  "luminance": 0.30226
}

Semantic roles & 50–950 ramp

primary
#AA8BB2
secondary
#C8D4C5
accent
#9F4759
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#121013
muted
#817F82

Preview Lab

Preview with #AA8BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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