Skip to content
Vectorlight.net

#997dfa

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

HEX
#997dfa
RGB
153, 125, 250
HSL
253.44°, 92.59%, 73.53%
OKLCH
0.67 0.18 291.12
Names
—
Lists

Codes

FormatValue
HEX#997dfa
RGBrgb(153 125 250)
HSLhsl(253.44 92.59% 73.53%)
OKLCHoklch(0.67 0.18 291.12)
CMYKcmyk(38.8% 50% 0% 1.96%)
Android#ff997dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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