Skip to content
Vectorlight.net

#767fec

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

HEX
#767fec
RGB
118, 127, 236
HSL
235.42°, 75.64%, 69.41%
OKLCH
0.64 0.16 277.27
Names
—
Lists

Codes

FormatValue
HEX#767fec
RGBrgb(118 127 236)
HSLhsl(235.42 75.64% 69.41%)
OKLCHoklch(0.64 0.16 277.27)
CMYKcmyk(50% 46.19% 0% 7.45%)
Android#ff767fec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #767fec;
background-color: #767fec;
bg-[#767fec]