Skip to content
Vectorlight.net

#c240bf

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

HEX
#c240bf
RGB
194, 64, 191
HSL
301.38°, 51.59%, 50.59%
OKLCH
0.6 0.22 328.83
Names
—
Lists

Codes

FormatValue
HEX#c240bf
RGBrgb(194 64 191)
HSLhsl(301.38 51.59% 50.59%)
OKLCHoklch(0.6 0.22 328.83)
CMYKcmyk(0% 67.01% 1.55% 23.92%)
Android#ffc240bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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