Skip to content
Vectorlight.net

#945fbd

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

HEX
#945fbd
RGB
148, 95, 189
HSL
273.83°, 41.59%, 55.69%
OKLCH
0.58 0.15 308.52
Names
—
Lists

Codes

FormatValue
HEX#945fbd
RGBrgb(148 95 189)
HSLhsl(273.83 41.59% 55.69%)
OKLCHoklch(0.58 0.15 308.52)
CMYKcmyk(21.69% 49.74% 0% 25.88%)
Android#ff945fbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.53: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="#945fbd"
Gradient stop
<stop stop-color="#945fbd"/>
CSS variable + fill
:root { --c: #945fbd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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