Skip to content
Vectorlight.net

#7864ff

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

HEX
#7864ff
RGB
120, 100, 255
HSL
247.74°, 100%, 69.61%
OKLCH
0.61 0.22 283.53
Names
—
Lists

Codes

FormatValue
HEX#7864ff
RGBrgb(120 100 255)
HSLhsl(247.74 100% 69.61%)
OKLCHoklch(0.61 0.22 283.53)
CMYKcmyk(52.94% 60.78% 0% 0%)
Android#ff7864ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7864ff;
background-color: #7864ff;
bg-[#7864ff]