Skip to content
Vectorlight.net

#7855fe

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

HEX
#7855fe
RGB
120, 85, 254
HSL
252.43°, 98.83%, 66.47%
OKLCH
0.58 0.24 285.99
Names
—
Lists

Codes

FormatValue
HEX#7855fe
RGBrgb(120 85 254)
HSLhsl(252.43 98.83% 66.47%)
OKLCHoklch(0.58 0.24 285.99)
CMYKcmyk(52.76% 66.54% 0% 0.39%)
Android#ff7855fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

color / background
color: #7855fe;
background-color: #7855fe;
bg-[#7855fe]