Skip to content

#aaa2f0

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

RGB
170, 162, 240
HSL
246°, 72%, 79%
CMYK
29, 33, 0, 6
Luminance
0.4068

Every format

HEX#aaa2f0
RGBrgb(170, 162, 240)
HSLhsl(246, 72%, 79%)
CMYKcmyk(29%, 33%, 0%, 6%)
LABlab(70.0 19.9 -38.0)
LCHlch(70.0 42.9 297.6)
OKLCHoklch(0.749 0.111 288.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa2f0 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#aaa2f0 on black: 9.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green63.5%
Blue94.1%

CMYK percentages

Cyan29.2%
Magenta32.5%
Yellow0.0%
Key (black)5.9%

Color previews

#aaa2f0 text on a black background

contrast 9.14:1

Card sample

#aaa2f0 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa2f0 in the Color Lab