Skip to content
Vectorlight.net

#c645db

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

HEX
#c645db
RGB
198, 69, 219
HSL
291.6°, 67.57%, 56.47%
OKLCH
0.63 0.24 321.74
Names
—
Lists

Codes

FormatValue
HEX#c645db
RGBrgb(198 69 219)
HSLhsl(291.6 67.57% 56.47%)
OKLCHoklch(0.63 0.24 321.74)
CMYKcmyk(9.59% 68.49% 0% 14.12%)
Android#ffc645db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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