Skip to content
Vectorlight.net

#cd2698

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

HEX
#cd2698
RGB
205, 38, 152
HSL
319.04°, 68.72%, 47.65%
OKLCH
0.58 0.22 344.87
Names
—
Lists

Codes

FormatValue
HEX#cd2698
RGBrgb(205 38 152)
HSLhsl(319.04 68.72% 47.65%)
OKLCHoklch(0.58 0.22 344.87)
CMYKcmyk(0% 81.46% 25.85% 19.61%)
Android#ffcd2698

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.32:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#cd2698"
Gradient stop
<stop stop-color="#cd2698"/>
CSS variable + fill
:root { --c: #cd2698; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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