Skip to content

#aaa2fd

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

RGB
170, 162, 253
HSL
245°, 96%, 81%
CMYK
33, 36, 0, 1
Luminance
0.4148

Every format

HEX#aaa2fd
RGBrgb(170, 162, 253)
HSLhsl(245, 96%, 81%)
CMYKcmyk(33%, 36%, 0%, 1%)
LABlab(70.5 23.1 -44.2)
LCHlch(70.5 49.9 297.6)
OKLCHoklch(0.755 0.129 286.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red66.7%
Green63.5%
Blue99.2%

CMYK percentages

Cyan32.8%
Magenta36.0%
Yellow0.0%
Key (black)0.8%

Color previews

#aaa2fd text on a black background

contrast 9.30:1

Card sample

#aaa2fd text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa2fd in the Color Lab