Skip to content
Vectorlight.net

#c240db

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

HEX
#c240db
RGB
194, 64, 219
HSL
290.32°, 68.28%, 55.49%
OKLCH
0.62 0.24 320.67
Names
—
Lists

Codes

FormatValue
HEX#c240db
RGBrgb(194 64 219)
HSLhsl(290.32 68.28% 55.49%)
OKLCHoklch(0.62 0.24 320.67)
CMYKcmyk(11.42% 70.78% 0% 14.12%)
Android#ffc240db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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