Skip to content
Vectorlight.net

#9baafa

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

HEX
#9baafa
RGB
155, 170, 250
HSL
230.53°, 90.48%, 79.41%
OKLCH
0.76 0.12 275.16
Names
—
Lists

Codes

FormatValue
HEX#9baafa
RGBrgb(155 170 250)
HSLhsl(230.53 90.48% 79.41%)
OKLCHoklch(0.76 0.12 275.16)
CMYKcmyk(38% 32% 0% 1.96%)
Android#ff9baafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9baafa;
background-color: #9baafa;
bg-[#9baafa]