Skip to content
Vectorlight.net

#c45def

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

HEX
#c45def
RGB
196, 93, 239
HSL
282.33°, 82.02%, 65.1%
OKLCH
0.66 0.22 314.59
Names
—
Lists

Codes

FormatValue
HEX#c45def
RGBrgb(196 93 239)
HSLhsl(282.33 82.02% 65.1%)
OKLCHoklch(0.66 0.22 314.59)
CMYKcmyk(17.99% 61.09% 0% 6.27%)
Android#ffc45def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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