Skip to content
Vectorlight.net

#997aeb

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

HEX
#997aeb
RGB
153, 122, 235
HSL
256.46°, 73.86%, 70%
OKLCH
0.66 0.16 294.07
Names
—
Lists

Codes

FormatValue
HEX#997aeb
RGBrgb(153 122 235)
HSLhsl(256.46 73.86% 70%)
OKLCHoklch(0.66 0.16 294.07)
CMYKcmyk(34.89% 48.09% 0% 7.84%)
Android#ff997aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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