Skip to content
Vectorlight.net

#c252da

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

HEX
#c252da
RGB
194, 82, 218
HSL
289.41°, 64.76%, 58.82%
OKLCH
0.64 0.22 320.17
Names
—
Lists

Codes

FormatValue
HEX#c252da
RGBrgb(194 82 218)
HSLhsl(289.41 64.76% 58.82%)
OKLCHoklch(0.64 0.22 320.17)
CMYKcmyk(11.01% 62.39% 0% 14.51%)
Android#ffc252da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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