Skip to content
Vectorlight.net

#cd5bfe

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

HEX
#cd5bfe
RGB
205, 91, 254
HSL
281.96°, 98.79%, 67.65%
OKLCH
0.68 0.24 314.08
Names
—
Lists

Codes

FormatValue
HEX#cd5bfe
RGBrgb(205 91 254)
HSLhsl(281.96 98.79% 67.65%)
OKLCHoklch(0.68 0.24 314.08)
CMYKcmyk(19.29% 64.17% 0% 0.39%)
Android#ffcd5bfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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