Skip to content

#a6afdf

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

RGB
166, 175, 223
HSL
231°, 47%, 76%
CMYK
26, 22, 0, 13
Luminance
0.4409

Every format

HEX#a6afdf
RGBrgb(166, 175, 223)
HSLhsl(231, 47%, 76%)
CMYKcmyk(26%, 22%, 0%, 13%)
LABlab(72.3 7.3 -25.2)
LCHlch(72.3 26.2 286.2)
OKLCHoklch(0.764 0.070 276.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a6afdf on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#a6afdf on black: 9.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green68.6%
Blue87.5%

CMYK percentages

Cyan25.6%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#a6afdf text on a black background

contrast 9.82:1

Card sample

#a6afdf text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a6afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6afdf in the Color Lab