Skip to content
Vectorlight.net

#768ffd

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

HEX
#768ffd
RGB
118, 143, 253
HSL
228.89°, 97.12%, 72.75%
OKLCH
0.68 0.16 271.78
Names
—
Lists

Codes

FormatValue
HEX#768ffd
RGBrgb(118 143 253)
HSLhsl(228.89 97.12% 72.75%)
OKLCHoklch(0.68 0.16 271.78)
CMYKcmyk(53.36% 43.48% 0% 0.78%)
Android#ff768ffd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #768ffd;
background-color: #768ffd;
bg-[#768ffd]