Skip to content
Vectorlight.net

#9891ef

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

HEX
#9891ef
RGB
152, 145, 239
HSL
244.47°, 74.6%, 75.29%
OKLCH
0.7 0.14 285.74
Names
—
Lists

Codes

FormatValue
HEX#9891ef
RGBrgb(152 145 239)
HSLhsl(244.47 74.6% 75.29%)
OKLCHoklch(0.7 0.14 285.74)
CMYKcmyk(36.4% 39.33% 0% 6.27%)
Android#ff9891ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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