#AA77EE#AA77EE

#AA77EE is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.2% C 0.175 H 301.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AA77EE
RGBrgb(170, 119, 238)
HSLhsl(266, 78%, 70%)
HSVhsv(266, 50%, 93%)
CMYKcmyk(28.6%, 50%, 0%, 6.7%)
CIE-LABlab(59.81, 43.52, -52.89)
CIE-LCHlch(59.81, 68.49, 309.45°)
OKLaboklab(67.15% 0.0918 -0.1488)
OKLCHoklch(67.15% 0.175 301.7)
XYZxyz(38.6035, 27.9127, 84.2263)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77EE #BBEE77
analogous
#7780EE #AA77EE #E577EE
triadic
#AA77EE #EEAA77 #77EEAA
tetradic
#AA77EE #EE7780 #BBEE77 #77EEE5
square
#AA77EE #EE7780 #BBEE77 #77EEE5
split-complementary
#AA77EE #EEE577 #80EE77
monochromatic
#681AD1 #8841E7 #AA77EE #CCADF5 #EEE4FC

Accessibility & contrast

On white

3.19
#AA77EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AA77EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77EE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77EE#FFFFFF#000000##000000
##AA77EE1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF2
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#9D8DA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa77ee;
/* rgb */ color: rgb(170, 119, 238);
/* oklch */ color: oklch(67.2% 0.175 301.7);
Tailwind
colors: {
  custom: {
    50: '#c69ff4',
    500: '#aa77ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa77ee;
$custom-light: #c69ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77ee",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 265.714,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.17482,
    "h": 301.7
  },
  "luminance": 0.27913
}

Semantic roles & 50–950 ramp

primary
#AA77EE
secondary
#E3F1D0
accent
#DA0B82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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