Skip to content
Vectorlight.net

#945fbe

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

HEX
#945fbe
RGB
148, 95, 190
HSL
273.47°, 42.22%, 55.88%
OKLCH
0.58 0.15 308.2
Names
—
Lists

Codes

FormatValue
HEX#945fbe
RGBrgb(148 95 190)
HSLhsl(273.47 42.22% 55.88%)
OKLCHoklch(0.58 0.15 308.2)
CMYKcmyk(22.11% 50% 0% 25.49%)
Android#ff945fbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #945fbe;
background-color: #945fbe;
bg-[#945fbe]