Skip to content
Vectorlight.net

#c18efd

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

HEX
#c18efd
RGB
193, 142, 253
HSL
267.57°, 96.52%, 77.45%
OKLCH
0.74 0.16 303.89
Names
—
Lists

Codes

FormatValue
HEX#c18efd
RGBrgb(193 142 253)
HSLhsl(267.57 96.52% 77.45%)
OKLCHoklch(0.74 0.16 303.89)
CMYKcmyk(23.72% 43.87% 0% 0.78%)
Android#ffc18efd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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