Skip to content
Vectorlight.net

#a8baff

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

HEX
#a8baff
RGB
168, 186, 255
HSL
227.59°, 100%, 82.94%
OKLCH
0.8 0.1 272.71
Names
—
Lists

Codes

FormatValue
HEX#a8baff
RGBrgb(168 186 255)
HSLhsl(227.59 100% 82.94%)
OKLCHoklch(0.8 0.1 272.71)
CMYKcmyk(34.12% 27.06% 0% 0%)
Android#ffa8baff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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