Skip to content

#aaa7df

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

RGB
170, 167, 223
HSL
243°, 47%, 77%
CMYK
24, 25, 0, 13
Luminance
0.4151

Every format

HEX#aaa7df
RGBrgb(170, 167, 223)
HSLhsl(243, 47%, 77%)
CMYKcmyk(24%, 25%, 0%, 13%)
LABlab(70.5 13.0 -27.8)
LCHlch(70.5 30.7 295.0)
OKLCHoklch(0.751 0.080 286.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa7df on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#aaa7df on black: 9.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green65.5%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta25.1%
Yellow0.0%
Key (black)12.5%

Color previews

#aaa7df text on a black background

contrast 9.30:1

Card sample

#aaa7df text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa7df in the Color Lab