Skip to content
Vectorlight.net

#a8affc

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

HEX
#a8affc
RGB
168, 175, 252
HSL
235°, 93.33%, 82.35%
OKLCH
0.78 0.11 279.51
Names
—
Lists

Codes

FormatValue
HEX#a8affc
RGBrgb(168 175 252)
HSLhsl(235 93.33% 82.35%)
OKLCHoklch(0.78 0.11 279.51)
CMYKcmyk(33.33% 30.56% 0% 1.18%)
Android#ffa8affc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.05:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.20: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="#a8affc"
Gradient stop
<stop stop-color="#a8affc"/>
CSS variable + fill
:root { --c: #a8affc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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