Skip to content
Vectorlight.net

#7218dc

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

HEX
#7218dc
RGB
114, 24, 220
HSL
267.55°, 80.33%, 47.84%
OKLCH
0.49 0.25 294.89
Names
—
Lists

Codes

FormatValue
HEX#7218dc
RGBrgb(114 24 220)
HSLhsl(267.55 80.33% 47.84%)
OKLCHoklch(0.49 0.25 294.89)
CMYKcmyk(48.18% 89.09% 0% 13.73%)
Android#ff7218dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7218dc;
background-color: #7218dc;
bg-[#7218dc]