Skip to content
Vectorlight.net

#c240bb

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

HEX
#c240bb
RGB
194, 64, 187
HSL
303.23°, 51.59%, 50.59%
OKLCH
0.6 0.21 330.12
Names
—
Lists

Codes

FormatValue
HEX#c240bb
RGBrgb(194 64 187)
HSLhsl(303.23 51.59% 50.59%)
OKLCHoklch(0.6 0.21 330.12)
CMYKcmyk(0% 67.01% 3.61% 23.92%)
Android#ffc240bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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