Skip to content

#aaa2df

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

RGB
170, 162, 223
HSL
248°, 49%, 76%
CMYK
24, 27, 0, 13
Luminance
0.3971

Every format

HEX#aaa2df
RGBrgb(170, 162, 223)
HSLhsl(248, 49%, 76%)
CMYKcmyk(24%, 27%, 0%, 13%)
LABlab(69.3 15.8 -29.8)
LCHlch(69.3 33.7 297.9)
OKLCHoklch(0.741 0.087 290.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa2df on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#aaa2df on black: 8.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green63.5%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#aaa2df text on a black background

contrast 8.94:1

Card sample

#aaa2df text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa2df in the Color Lab