#AA77BC#AA77BC

#AA77BC is a light, moderate purple. Relative luminance 0.254; OKLCH L 64.6% C 0.115 H 317.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AA77BC
RGBrgb(170, 119, 188)
HSLhsl(284, 34%, 60%)
HSVhsv(284, 37%, 74%)
CMYKcmyk(9.6%, 36.7%, 0%, 26.3%)
CIE-LABlab(57.44, 32.21, -28.47)
CIE-LCHlch(57.44, 42.99, 318.52°)
OKLaboklab(64.6% 0.0838 -0.0782)
OKLCHoklch(64.6% 0.115 317)
XYZxyz(32.2502, 25.3713, 50.7655)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77BC #89BC77
analogous
#8877BC #AA77BC #BC77AB
triadic
#AA77BC #BCAA77 #77BCAA
tetradic
#AA77BC #BC8877 #89BC77 #77ABBC
square
#AA77BC #BC8877 #89BC77 #77ABBC
split-complementary
#AA77BC #ABBC77 #77BC88
monochromatic
#6B3D7C #8F51A5 #AA77BC #C4A0D0 #DDC9E4

Accessibility & contrast

On white

3.46
#AA77BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AA77BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77BC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77BC#FFFFFF#000000##000000
##AA77BC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BF
Deuteranopia (green-blind)
#798CBA
Tritanopia (blue-blind)
#AA8091
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa77bc;
/* rgb */ color: rgb(170, 119, 188);
/* oklch */ color: oklch(64.6% 0.115 317.0);
Tailwind
colors: {
  custom: {
    50: '#c49fd0',
    500: '#aa77bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa77bc;
$custom-light: #c49fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77bc",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 284.348,
    "s": 33.99,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64597,
    "c": 0.11456,
    "h": 317
  },
  "luminance": 0.25371
}

Semantic roles & 50–950 ramp

primary
#AA77BC
secondary
#C1D5BA
accent
#AD3957
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA77BC

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

Preview Lab → · Contrast checker → · Palette generator →

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