Skip to content
Vectorlight.net

#c340be

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

HEX
#c340be
RGB
195, 64, 190
HSL
302.29°, 52.19%, 50.78%
OKLCH
0.6 0.22 329.46
Names
—
Lists

Codes

FormatValue
HEX#c340be
RGBrgb(195 64 190)
HSLhsl(302.29 52.19% 50.78%)
OKLCHoklch(0.6 0.22 329.46)
CMYKcmyk(0% 67.18% 2.56% 23.53%)
Android#ffc340be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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