Skip to content
Vectorlight.net

#997feb

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

HEX
#997feb
RGB
153, 127, 235
HSL
254.44°, 72.97%, 70.98%
OKLCH
0.67 0.16 292.73
Names
—
Lists

Codes

FormatValue
HEX#997feb
RGBrgb(153 127 235)
HSLhsl(254.44 72.97% 70.98%)
OKLCHoklch(0.67 0.16 292.73)
CMYKcmyk(34.89% 45.96% 0% 7.84%)
Android#ff997feb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #997feb;
background-color: #997feb;
bg-[#997feb]