Skip to content
Vectorlight.net

#7252fa

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

HEX
#7252fa
RGB
114, 82, 250
HSL
251.43°, 94.38%, 65.1%
OKLCH
0.57 0.24 284.85
Names
—
Lists

Codes

FormatValue
HEX#7252fa
RGBrgb(114 82 250)
HSLhsl(251.43 94.38% 65.1%)
OKLCHoklch(0.57 0.24 284.85)
CMYKcmyk(54.4% 67.2% 0% 1.96%)
Android#ff7252fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7252fa;
background-color: #7252fa;
bg-[#7252fa]