Skip to content
Vectorlight.net

#cd46fa

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

HEX
#cd46fa
RGB
205, 70, 250
HSL
285°, 94.74%, 62.75%
OKLCH
0.66 0.26 316.14
Names
—
Lists

Codes

FormatValue
HEX#cd46fa
RGBrgb(205 70 250)
HSLhsl(285 94.74% 62.75%)
OKLCHoklch(0.66 0.26 316.14)
CMYKcmyk(18% 72% 0% 1.96%)
Android#ffcd46fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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