#AA7ABB#AA7ABB

#AA7ABB is a light, moderate purple. Relative luminance 0.261; OKLCH L 65.1% C 0.108 H 317.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA7ABB
RGBrgb(170, 122, 187)
HSLhsl(284, 32%, 61%)
HSVhsv(284, 35%, 73%)
CMYKcmyk(9.1%, 34.8%, 0%, 26.7%)
CIE-LABlab(58.09, 30.31, -26.89)
CIE-LCHlch(58.09, 40.52, 318.42°)
OKLaboklab(65.08% 0.079 -0.0737)
OKLCHoklch(65.08% 0.108 317)
XYZxyz(32.5054, 26.0537, 50.3206)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7ABB #8BBB7A
analogous
#897ABB #AA7ABB #BB7AAB
triadic
#AA7ABB #BBAA7A #7ABBAA
tetradic
#AA7ABB #BB897A #8BBB7A #7AABBB
square
#AA7ABB #BB897A #8BBB7A #7AABBB
split-complementary
#AA7ABB #ABBB7A #7ABB89
monochromatic
#6C3F7B #8F54A4 #AA7ABB #C4A2D0 #DECBE4

Accessibility & contrast

On white

3.38
#AA7ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AA7ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7ABB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7ABB#FFFFFF#000000##000000
##AA7ABB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BD
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#AA8292
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa7abb;
/* rgb */ color: rgb(170, 122, 187);
/* oklch */ color: oklch(65.1% 0.108 317.0);
Tailwind
colors: {
  custom: {
    50: '#c4a1cf',
    500: '#aa7abb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7abb;
$custom-light: #c4a1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7abb",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 284.308,
    "s": 32.338,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.10802,
    "h": 317
  },
  "luminance": 0.26053
}

Semantic roles & 50–950 ramp

primary
#AA7ABB
secondary
#C3D5BC
accent
#AB3A58
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AA7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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