Skip to content
Vectorlight.net

#c252ef

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

HEX
#c252ef
RGB
194, 82, 239
HSL
282.8°, 83.07%, 62.94%
OKLCH
0.65 0.24 314.7
Names
—
Lists

Codes

FormatValue
HEX#c252ef
RGBrgb(194 82 239)
HSLhsl(282.8 83.07% 62.94%)
OKLCHoklch(0.65 0.24 314.7)
CMYKcmyk(18.83% 65.69% 0% 6.27%)
Android#ffc252ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.65:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.74:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#c252ef"
Gradient stop
<stop stop-color="#c252ef"/>
CSS variable + fill
:root { --c: #c252ef; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #c252ef;
background-color: #c252ef;
bg-[#c252ef]