Skip to content
Vectorlight.net

#766bfb

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

HEX
#766bfb
RGB
118, 107, 251
HSL
244.58°, 94.74%, 70.2%
OKLCH
0.61 0.21 281.85
Names
—
Lists

Codes

FormatValue
HEX#766bfb
RGBrgb(118 107 251)
HSLhsl(244.58 94.74% 70.2%)
OKLCHoklch(0.61 0.21 281.85)
CMYKcmyk(52.99% 57.37% 0% 1.57%)
Android#ff766bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #766bfb;
background-color: #766bfb;
bg-[#766bfb]