Skip to content
Vectorlight.net

#7218ca

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

HEX
#7218ca
RGB
114, 24, 202
HSL
270.34°, 78.76%, 44.31%
OKLCH
0.47 0.24 298.71
Names
—
Lists

Codes

FormatValue
HEX#7218ca
RGBrgb(114 24 202)
HSLhsl(270.34 78.76% 44.31%)
OKLCHoklch(0.47 0.24 298.71)
CMYKcmyk(43.56% 88.12% 0% 20.78%)
Android#ff7218ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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