#AA7BB4#AA7BB4

#AA7BB4 is a light, moderate purple. Relative luminance 0.260; OKLCH L 65.0% C 0.098 H 320.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AA7BB4
RGBrgb(170, 123, 180)
HSLhsl(289, 28%, 59%)
HSVhsv(289, 32%, 71%)
CMYKcmyk(5.6%, 31.7%, 0%, 29.4%)
CIE-LABlab(58.04, 28.31, -22.96)
CIE-LCHlch(58.04, 36.45, 320.95°)
OKLaboklab(64.95% 0.0756 -0.0626)
OKLCHoklch(64.95% 0.098 320.4)
XYZxyz(31.8977, 26.0081, 46.5109)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BB4 #85B47B
analogous
#8E7BB4 #AA7BB4 #B47BA2
triadic
#AA7BB4 #B4AA7B #7BB4AA
tetradic
#AA7BB4 #B48E7B #85B47B #7BA2B4
square
#AA7BB4 #B48E7B #85B47B #7BA2B4
split-complementary
#AA7BB4 #A2B47B #7BB48E
monochromatic
#6A4173 #8F589A #AA7BB4 #C3A2CA #DCC9E0

Accessibility & contrast

On white

3.39
#AA7BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AA7BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BB4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BB4#FFFFFF#000000##000000
##AA7BB41.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7488B6
Deuteranopia (green-blind)
#808DB2
Tritanopia (blue-blind)
#AB8190
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa7bb4;
/* rgb */ color: rgb(170, 123, 180);
/* oklch */ color: oklch(65.0% 0.098 320.4);
Tailwind
colors: {
  custom: {
    50: '#c4a2ca',
    500: '#aa7bb4',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bb4;
$custom-light: #c4a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bb4",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 289.474,
    "s": 27.536,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64954,
    "c": 0.09814,
    "h": 320.4
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#AA7BB4
secondary
#BED1BA
accent
#C46475
background
#FCFAFC
surface
#F8F3F8
border
#D1CDD1
text
#130F13
muted
#827F82

Preview Lab

Preview with #AA7BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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