Skip to content
Vectorlight.net

#852eca

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

HEX
#852eca
RGB
133, 46, 202
HSL
273.46°, 62.9%, 48.63%
OKLCH
0.51 0.22 304.72
Names
—
Lists

Codes

FormatValue
HEX#852eca
RGBrgb(133 46 202)
HSLhsl(273.46 62.9% 48.63%)
OKLCHoklch(0.51 0.22 304.72)
CMYKcmyk(34.16% 77.23% 0% 20.78%)
Android#ff852eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #852eca;
background-color: #852eca;
bg-[#852eca]