Skip to content
Vectorlight.net

#c340ba

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

HEX
#c340ba
RGB
195, 64, 186
HSL
304.12°, 52.19%, 50.78%
OKLCH
0.6 0.21 330.77
Names
—
Lists

Codes

FormatValue
HEX#c340ba
RGBrgb(195 64 186)
HSLhsl(304.12 52.19% 50.78%)
OKLCHoklch(0.6 0.21 330.77)
CMYKcmyk(0% 67.18% 4.62% 23.53%)
Android#ffc340ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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