Skip to content
Vectorlight.net

#918bed

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

HEX
#918bed
RGB
145, 139, 237
HSL
243.67°, 73.13%, 73.73%
OKLCH
0.68 0.14 284.77
Names
—
Lists

Codes

FormatValue
HEX#918bed
RGBrgb(145 139 237)
HSLhsl(243.67 73.13% 73.73%)
OKLCHoklch(0.68 0.14 284.77)
CMYKcmyk(38.82% 41.35% 0% 7.06%)
Android#ff918bed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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