Skip to content

#aaa2fe

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

RGB
170, 162, 254
HSL
245°, 98%, 82%
CMYK
33, 36, 0, 0
Luminance
0.4154

Every format

HEX#aaa2fe
RGBrgb(170, 162, 254)
HSLhsl(245, 98%, 82%)
CMYKcmyk(33%, 36%, 0%, 0%)
LABlab(70.5 23.4 -44.7)
LCHlch(70.5 50.5 297.6)
OKLCHoklch(0.755 0.131 286.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa2fe on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#aaa2fe on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green63.5%
Blue99.6%

CMYK percentages

Cyan33.1%
Magenta36.2%
Yellow0.0%
Key (black)0.4%

Color previews

#aaa2fe text on a black background

contrast 9.31:1

Card sample

#aaa2fe text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa2fe in the Color Lab