Skip to content
Vectorlight.net

#cd30db

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

HEX
#cd30db
RGB
205, 48, 219
HSL
295.09°, 70.37%, 52.35%
OKLCH
0.62 0.26 324.34
Names
—
Lists

Codes

FormatValue
HEX#cd30db
RGBrgb(205 48 219)
HSLhsl(295.09 70.37% 52.35%)
OKLCHoklch(0.62 0.26 324.34)
CMYKcmyk(6.39% 78.08% 0% 14.12%)
Android#ffcd30db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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