Skip to content

#a2afd2

a light, soft blue · cool · closest name: skyblue

RGB
162, 175, 210
HSL
224°, 35%, 73%
CMYK
23, 17, 0, 18
Luminance
0.4299

Every format

HEX#a2afd2
RGBrgb(162, 175, 210)
HSLhsl(224, 35%, 73%)
CMYKcmyk(23%, 17%, 0%, 18%)
LABlab(71.5 3.0 -19.2)
LCHlch(71.5 19.4 279.0)
OKLCHoklch(0.756 0.052 269.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2afd2 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#a2afd2 on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green68.6%
Blue82.4%

CMYK percentages

Cyan22.9%
Magenta16.7%
Yellow0.0%
Key (black)17.6%

Color previews

#a2afd2 text on a black background

contrast 9.60:1

Card sample

#a2afd2 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2afd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2afd2 in the Color Lab