Skip to content

#aaa7fd

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

RGB
170, 167, 253
HSL
242°, 96%, 82%
CMYK
33, 34, 0, 1
Luminance
0.4328

Every format

HEX#aaa7fd
RGBrgb(170, 167, 253)
HSLhsl(242, 96%, 82%)
CMYKcmyk(33%, 34%, 0%, 1%)
LABlab(71.7 20.3 -42.3)
LCHlch(71.7 46.9 295.6)
OKLCHoklch(0.764 0.122 284.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa7fd on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#aaa7fd on black: 9.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green65.5%
Blue99.2%

CMYK percentages

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

Color previews

#aaa7fd text on a black background

contrast 9.66:1

Card sample

#aaa7fd text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa7fd in the Color Lab