Skip to content
Vectorlight.net

#918ebd

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

HEX
#918ebd
RGB
145, 142, 189
HSL
243.83°, 26.26%, 64.9%
OKLCH
0.67 0.07 287.28
Names
—
Lists

Codes

FormatValue
HEX#918ebd
RGBrgb(145 142 189)
HSLhsl(243.83 26.26% 64.9%)
OKLCHoklch(0.67 0.07 287.28)
CMYKcmyk(23.28% 24.87% 0% 25.88%)
Android#ff918ebd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #918ebd;
background-color: #918ebd;
bg-[#918ebd]