Skip to content
Vectorlight.net

#998bec

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

HEX
#998bec
RGB
153, 139, 236
HSL
248.66°, 71.85%, 73.53%
OKLCH
0.69 0.14 288.8
Names
—
Lists

Codes

FormatValue
HEX#998bec
RGBrgb(153 139 236)
HSLhsl(248.66 71.85% 73.53%)
OKLCHoklch(0.69 0.14 288.8)
CMYKcmyk(35.17% 41.1% 0% 7.45%)
Android#ff998bec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #998bec;
background-color: #998bec;
bg-[#998bec]