#AA77AA#AA77AA

#AA77AA is a light, moderate purple. Relative luminance 0.246; OKLCH L 63.8% C 0.095 H 326.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AA77AA
RGBrgb(170, 119, 170)
HSLhsl(300, 23%, 57%)
HSVhsv(300, 30%, 67%)
CMYKcmyk(0%, 30%, 0%, 33.3%)
CIE-LABlab(56.73, 28.58, -19.24)
CIE-LCHlch(56.73, 34.45, 326.05°)
OKLaboklab(63.83% 0.079 -0.0521)
OKLCHoklch(63.83% 0.095 326.6)
XYZxyz(30.4294, 24.6430, 41.1761)
Luminance0.2464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77AA #77AA77
analogous
#9177AA #AA77AA #AA7791
triadic
#AA77AA #AAAA77 #77AAAA
tetradic
#AA77AA #AA9177 #77AA77 #7791AA
square
#AA77AA #AA9177 #77AA77 #7791AA
split-complementary
#AA77AA #91AA77 #77AA91
monochromatic
#674067 #8C588C #AA77AA #C29DC2 #D9C2D9

Accessibility & contrast

On white

3.54
#AA77AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AA77AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77AA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77AA#FFFFFF#000000##000000
##AA77AA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7384AC
Deuteranopia (green-blind)
#808AA8
Tritanopia (blue-blind)
#AD7B89
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa77aa;
/* rgb */ color: rgb(170, 119, 170);
/* oklch */ color: oklch(63.8% 0.095 326.6);
Tailwind
colors: {
  custom: {
    50: '#c49fc3',
    500: '#aa77aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa77aa;
$custom-light: #c49fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77aa",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 23.077,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63825,
    "c": 0.09462,
    "h": 326.6
  },
  "luminance": 0.24642
}

Semantic roles & 50–950 ramp

primary
#AA77AA
secondary
#B4C9B4
accent
#C06868
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #AA77AA

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

Preview Lab → · Contrast checker → · Palette generator →

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