#AA7BB7#AA7BB7

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

Color values

HEX#AA7BB7
RGBrgb(170, 123, 183)
HSLhsl(287, 29%, 60%)
HSVhsv(287, 33%, 72%)
CMYKcmyk(7.1%, 32.8%, 0%, 28.2%)
CIE-LABlab(58.16, 28.92, -24.50)
CIE-LCHlch(58.16, 37.90, 319.73°)
OKLaboklab(65.08% 0.0764 -0.0669)
OKLCHoklch(65.08% 0.102 318.8)
XYZxyz(32.2066, 26.1317, 48.1379)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BB7 #88B77B
analogous
#8C7BB7 #AA7BB7 #B77BA6
triadic
#AA7BB7 #B7AA7B #7BB7AA
tetradic
#AA7BB7 #B78C7B #88B77B #7BA6B7
square
#AA7BB7 #B78C7B #88B77B #7BA6B7
split-complementary
#AA7BB7 #A6B77B #7BB78C
monochromatic
#6B4177 #8F569E #AA7BB7 #C4A3CD #DDCAE2

Accessibility & contrast

On white

3.37
#AA7BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AA7BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BB7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BB7#FFFFFF#000000##000000
##AA7BB71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7389B9
Deuteranopia (green-blind)
#7E8DB5
Tritanopia (blue-blind)
#AB8291
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa7bb7;
/* rgb */ color: rgb(170, 123, 183);
/* oklch */ color: oklch(65.1% 0.102 318.8);
Tailwind
colors: {
  custom: {
    50: '#c4a2cc',
    500: '#aa7bb7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bb7;
$custom-light: #c4a2cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bb7",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 287,
    "s": 29.412,
    "l": 60
  },
  "oklch": {
    "l": 0.65081,
    "c": 0.10157,
    "h": 318.8
  },
  "luminance": 0.26131
}

Semantic roles & 50–950 ramp

primary
#AA7BB7
secondary
#C0D2BB
accent
#C66278
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F13
muted
#827F82

Preview Lab

Preview with #AA7BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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