Skip to content
Vectorlight.net

#a6bfec

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#a6bfec
RGB
166, 191, 236
HSL
218.57°, 64.81%, 78.82%
OKLCH
0.8 0.07 262.09
Names
—
Lists

Codes

FormatValue
HEX#a6bfec
RGBrgb(166 191 236)
HSLhsl(218.57 64.81% 78.82%)
OKLCHoklch(0.8 0.07 262.09)
CMYKcmyk(29.66% 19.07% 0% 7.45%)
Android#ffa6bfec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.86:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.28:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#a6bfec"
Gradient stop
<stop stop-color="#a6bfec"/>
CSS variable + fill
:root { --c: #a6bfec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a6bfec;
background-color: #a6bfec;
bg-[#a6bfec]