Skip to content
Vectorlight.net

#c040ee

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

HEX
#c040ee
RGB
192, 64, 238
HSL
284.14°, 83.65%, 59.22%
OKLCH
0.63 0.26 315.32
Names
—
Lists

Codes

FormatValue
HEX#c040ee
RGBrgb(192 64 238)
HSLhsl(284.14 83.65% 59.22%)
OKLCHoklch(0.63 0.26 315.32)
CMYKcmyk(19.33% 73.11% 0% 6.67%)
Android#ffc040ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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