Skip to content
Vectorlight.net

#c45aeb

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

HEX
#c45aeb
RGB
196, 90, 235
HSL
283.86°, 78.38%, 63.73%
OKLCH
0.66 0.22 315.81
Names
—
Lists

Codes

FormatValue
HEX#c45aeb
RGBrgb(196 90 235)
HSLhsl(283.86 78.38% 63.73%)
OKLCHoklch(0.66 0.22 315.81)
CMYKcmyk(16.6% 61.7% 0% 7.84%)
Android#ffc45aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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