#AA77BB#AA77BB

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

Color values

HEX#AA77BB
RGBrgb(170, 119, 187)
HSLhsl(285, 33%, 60%)
HSVhsv(285, 36%, 73%)
CMYKcmyk(9.1%, 36.4%, 0%, 26.7%)
CIE-LABlab(57.39, 32.00, -27.96)
CIE-LCHlch(57.39, 42.50, 318.85°)
OKLaboklab(64.55% 0.0835 -0.0767)
OKLCHoklch(64.55% 0.113 317.4)
XYZxyz(32.1428, 25.3284, 50.1997)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77BB #88BB77
analogous
#8877BB #AA77BB #BB77AA
triadic
#AA77BB #BBAA77 #77BBAA
tetradic
#AA77BB #BB8877 #88BB77 #77AABB
square
#AA77BB #BB8877 #88BB77 #77AABB
split-complementary
#AA77BB #AABB77 #77BB88
monochromatic
#6B3D7A #8F52A3 #AA77BB #C3A0CF #DDC9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA77BB#FFFFFF#000000##000000
##AA77BB1.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)
#6D87BE
Deuteranopia (green-blind)
#7A8BB9
Tritanopia (blue-blind)
#AA7F90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa77bb;
/* rgb */ color: rgb(170, 119, 187);
/* oklch */ color: oklch(64.6% 0.113 317.4);
Tailwind
colors: {
  custom: {
    50: '#c49fcf',
    500: '#aa77bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa77bb;
$custom-light: #c49fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77bb",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.64552,
    "c": 0.11341,
    "h": 317.4
  },
  "luminance": 0.25328
}

Semantic roles & 50–950 ramp

primary
#AA77BB
secondary
#C0D4BA
accent
#C95E79
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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