Skip to content
Vectorlight.net

#9252ce

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

HEX
#9252ce
RGB
146, 82, 206
HSL
270.97°, 55.86%, 56.47%
OKLCH
0.57 0.19 304.97
Names
—
Lists

Codes

FormatValue
HEX#9252ce
RGBrgb(146 82 206)
HSLhsl(270.97 55.86% 56.47%)
OKLCHoklch(0.57 0.19 304.97)
CMYKcmyk(29.13% 60.19% 0% 19.22%)
Android#ff9252ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9252ce;
background-color: #9252ce;
bg-[#9252ce]