Skip to content

#aaa2cb

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

RGB
170, 162, 203
HSL
252°, 28%, 72%
CMYK
16, 20, 0, 20
Luminance
0.3870

Every format

HEX#aaa2cb
RGBrgb(170, 162, 203)
HSLhsl(252, 28%, 72%)
CMYKcmyk(16%, 20%, 0%, 20%)
LABlab(68.5 11.2 -19.9)
LCHlch(68.5 22.8 299.4)
OKLCHoklch(0.733 0.059 293.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa2cb on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#aaa2cb on black: 8.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green63.5%
Blue79.6%

CMYK percentages

Cyan16.3%
Magenta20.2%
Yellow0.0%
Key (black)20.4%

Color previews

#aaa2cb text on a black background

contrast 8.74:1

Card sample

#aaa2cb text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa2cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa2cb in the Color Lab