Skip to content

#aa77ff

a light, electric violet · warm · closest name: slateblue

RGB
170, 119, 255
HSL
263°, 100%, 73%
CMYK
33, 53, 0, 0
Luminance
0.2896

Every format

HEX#aa77ff
RGBrgb(170, 119, 255)
HSLhsl(263, 100%, 73%)
CMYKcmyk(33%, 53%, 0%, 0%)
LABlab(60.8 47.7 -60.8)
LCHlch(60.8 77.3 308.1)
OKLCHoklch(0.681 0.195 298.4)

Copy-ready code

/* CSS */
color: #aa77ff;
background-color: #aa77ff;
/* Tailwind (arbitrary) */
class="text-[#aa77ff] bg-[#aa77ff]"
/* SCSS */
$brand: #aa77ff;
/* SwiftUI */
Color(red: 0.667, green: 0.467, blue: 1.000)
/* Android */
Color.parseColor("#aa77ff")

Accessibility — WCAG contrast

Aa
#aa77ff on white: 3.09:1
AA ✗ fail · AA-large · AAA
Aa
#aa77ff on black: 6.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green46.7%
Blue100.0%

CMYK percentages

Cyan33.3%
Magenta53.3%
Yellow0.0%
Key (black)0.0%

Color previews

#aa77ff text on a black background

contrast 6.79:1

Card sample

#aa77ff text on a white background

contrast 3.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #aa77ff;
Background color
Panel with #aa77ff background
background-color: #aa77ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #aa77ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(170, 119, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 119, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa77ff;
background: linear-gradient(135deg, #aa77ff, #FF77F9);

Monochromatic scale

Palettes built from #aa77ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa77ff in the Color Lab