#AA77BD#AA77BD

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

Color values

HEX#AA77BD
RGBrgb(170, 119, 189)
HSLhsl(284, 35%, 60%)
HSVhsv(284, 37%, 74%)
CMYKcmyk(10.1%, 37%, 0%, 25.9%)
CIE-LABlab(57.48, 32.42, -28.98)
CIE-LCHlch(57.48, 43.48, 318.21°)
OKLaboklab(64.64% 0.084 -0.0796)
OKLCHoklch(64.64% 0.116 316.5)
XYZxyz(32.3583, 25.4146, 51.3352)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77BD #8ABD77
analogous
#8777BD #AA77BD #BD77AD
triadic
#AA77BD #BDAA77 #77BDAA
tetradic
#AA77BD #BD8777 #8ABD77 #77ADBD
square
#AA77BD #BD8777 #8ABD77 #77ADBD
split-complementary
#AA77BD #ADBD77 #77BD87
monochromatic
#6C3D7D #8F51A6 #AA77BD #C4A0D1 #DEC9E5

Accessibility & contrast

On white

3.45
#AA77BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AA77BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77BD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77BD#FFFFFF#000000##000000
##AA77BD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa77bd;
/* rgb */ color: rgb(170, 119, 189);
/* oklch */ color: oklch(64.6% 0.116 316.5);
Tailwind
colors: {
  custom: {
    50: '#c49fd1',
    500: '#aa77bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa77bd;
$custom-light: #c49fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77bd",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 283.714,
    "s": 34.653,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64643,
    "c": 0.11572,
    "h": 316.5
  },
  "luminance": 0.25414
}

Semantic roles & 50–950 ramp

primary
#AA77BD
secondary
#C2D5BB
accent
#AD3858
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA77BD

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

Preview Lab → · Contrast checker → · Palette generator →

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