Skip to content

#aaa5df

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

RGB
170, 165, 223
HSL
245°, 48%, 76%
CMYK
24, 26, 0, 13
Luminance
0.4078

Every format

HEX#aaa5df
RGBrgb(170, 165, 223)
HSLhsl(245, 48%, 76%)
CMYKcmyk(24%, 26%, 0%, 13%)
LABlab(70.0 14.1 -28.6)
LCHlch(70.0 31.9 296.2)
OKLCHoklch(0.747 0.083 288.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa5df on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#aaa5df on black: 9.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green64.7%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#aaa5df text on a black background

contrast 9.16:1

Card sample

#aaa5df text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa5df in the Color Lab