Skip to content
Vectorlight.net

#cd4fec

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

HEX
#cd4fec
RGB
205, 79, 236
HSL
288.15°, 80.51%, 61.76%
OKLCH
0.66 0.24 319.06
Names
—
Lists

Codes

FormatValue
HEX#cd4fec
RGBrgb(205 79 236)
HSLhsl(288.15 80.51% 61.76%)
OKLCHoklch(0.66 0.24 319.06)
CMYKcmyk(13.14% 66.53% 0% 7.45%)
Android#ffcd4fec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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