Skip to content
Vectorlight.net

#97a2fd

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

HEX
#97a2fd
RGB
151, 162, 253
HSL
233.53°, 96.23%, 79.22%
OKLCH
0.74 0.13 277.42
Names
—
Lists

Codes

FormatValue
HEX#97a2fd
RGBrgb(151 162 253)
HSLhsl(233.53 96.23% 79.22%)
OKLCHoklch(0.74 0.13 277.42)
CMYKcmyk(40.32% 35.97% 0% 0.78%)
Android#ff97a2fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #97a2fd;
background-color: #97a2fd;
bg-[#97a2fd]