Skip to content
Vectorlight.net

#9891fe

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

HEX
#9891fe
RGB
152, 145, 254
HSL
243.85°, 98.2%, 78.24%
OKLCH
0.71 0.16 284.6
Names
—
Lists

Codes

FormatValue
HEX#9891fe
RGBrgb(152 145 254)
HSLhsl(243.85 98.2% 78.24%)
OKLCHoklch(0.71 0.16 284.6)
CMYKcmyk(40.16% 42.91% 0% 0.39%)
Android#ff9891fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9891fe;
background-color: #9891fe;
bg-[#9891fe]