Skip to content
Vectorlight.net

#949afa

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

HEX
#949afa
RGB
148, 154, 250
HSL
236.47°, 91.07%, 78.04%
OKLCH
0.72 0.14 279.59
Names
—
Lists

Codes

FormatValue
HEX#949afa
RGBrgb(148 154 250)
HSLhsl(236.47 91.07% 78.04%)
OKLCHoklch(0.72 0.14 279.59)
CMYKcmyk(40.8% 38.4% 0% 1.96%)
Android#ff949afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #949afa;
background-color: #949afa;
bg-[#949afa]