Skip to content

#aaa1ff

a light, electric blue · warm · closest name: plum

RGB
170, 161, 255
HSL
246°, 100%, 82%
CMYK
33, 37, 0, 0
Luminance
0.4126

Every format

HEX#aaa1ff
RGBrgb(170, 161, 255)
HSLhsl(246, 100%, 82%)
CMYKcmyk(33%, 37%, 0%, 0%)
LABlab(70.3 24.2 -45.6)
LCHlch(70.3 51.6 298.0)
OKLCHoklch(0.754 0.133 287.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa1ff on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#aaa1ff on black: 9.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green63.1%
Blue100.0%

CMYK percentages

Cyan33.3%
Magenta36.9%
Yellow0.0%
Key (black)0.0%

Color previews

#aaa1ff text on a black background

contrast 9.25:1

Card sample

#aaa1ff text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa1ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa1ff in the Color Lab