Skip to content
Vectorlight.net

#997bfa

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

HEX
#997bfa
RGB
153, 123, 250
HSL
254.17°, 92.7%, 73.14%
OKLCH
0.67 0.18 291.59
Names
—
Lists

Codes

FormatValue
HEX#997bfa
RGBrgb(153 123 250)
HSLhsl(254.17 92.7% 73.14%)
OKLCHoklch(0.67 0.18 291.59)
CMYKcmyk(38.8% 50.8% 0% 1.96%)
Android#ff997bfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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