Skip to content
Vectorlight.net

#9fa1db

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

HEX
#9fa1db
RGB
159, 161, 219
HSL
238°, 45.45%, 74.12%
OKLCH
0.73 0.08 282.57
Names
—
Lists

Codes

FormatValue
HEX#9fa1db
RGBrgb(159 161 219)
HSLhsl(238 45.45% 74.12%)
OKLCHoklch(0.73 0.08 282.57)
CMYKcmyk(27.4% 26.48% 0% 14.12%)
Android#ff9fa1db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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