Skip to content
Vectorlight.net

#cd38d1

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

HEX
#cd38d1
RGB
205, 56, 209
HSL
298.43°, 62.45%, 51.96%
OKLCH
0.62 0.25 326.89
Names
—
Lists

Codes

FormatValue
HEX#cd38d1
RGBrgb(205 56 209)
HSLhsl(298.43 62.45% 51.96%)
OKLCHoklch(0.62 0.25 326.89)
CMYKcmyk(1.91% 73.21% 0% 18.04%)
Android#ffcd38d1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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