Skip to content

#aaaaff

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

RGB
170, 170, 255
HSL
240°, 100%, 83%
CMYK
33, 33, 0, 0
Luminance
0.4452

Every format

HEX#aaaaff
RGBrgb(170, 170, 255)
HSLhsl(240, 100%, 83%)
CMYKcmyk(33%, 33%, 0%, 0%)
LABlab(72.6 19.1 -42.1)
LCHlch(72.6 46.2 294.5)
OKLCHoklch(0.771 0.121 283.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaaaff on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#aaaaff on black: 9.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green66.7%
Blue100.0%

CMYK percentages

Cyan33.3%
Magenta33.3%
Yellow0.0%
Key (black)0.0%

Color previews

#aaaaff text on a black background

contrast 9.90:1

Card sample

#aaaaff text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaaaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaaaff in the Color Lab