Skip to content

#aaa2ff

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

RGB
170, 162, 255
HSL
245°, 100%, 82%
CMYK
33, 37, 0, 0
Luminance
0.4161

Every format

HEX#aaa2ff
RGBrgb(170, 162, 255)
HSLhsl(245, 100%, 82%)
CMYKcmyk(33%, 37%, 0%, 0%)
LABlab(70.6 23.6 -45.2)
LCHlch(70.6 51.0 297.6)
OKLCHoklch(0.756 0.132 286.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa2ff on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#aaa2ff on black: 9.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green63.5%
Blue100.0%

CMYK percentages

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

Color previews

#aaa2ff text on a black background

contrast 9.32:1

Card sample

#aaa2ff text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa2ff in the Color Lab