Skip to content
Vectorlight.net

#9776fd

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

HEX
#9776fd
RGB
151, 118, 253
HSL
254.67°, 97.12%, 72.75%
OKLCH
0.66 0.19 291.49
Names
—
Lists

Codes

FormatValue
HEX#9776fd
RGBrgb(151 118 253)
HSLhsl(254.67 97.12% 72.75%)
OKLCHoklch(0.66 0.19 291.49)
CMYKcmyk(40.32% 53.36% 0% 0.78%)
Android#ff9776fd

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.32: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="#9776fd"
Gradient stop
<stop stop-color="#9776fd"/>
CSS variable + fill
:root { --c: #9776fd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #9776fd;
background-color: #9776fd;
bg-[#9776fd]