Skip to content
Vectorlight.net

#cd6ceb

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

HEX
#cd6ceb
RGB
205, 108, 235
HSL
285.83°, 76.05%, 67.25%
OKLCH
0.69 0.2 317.65
Names
—
Lists

Codes

FormatValue
HEX#cd6ceb
RGBrgb(205 108 235)
HSLhsl(285.83 76.05% 67.25%)
OKLCHoklch(0.69 0.2 317.65)
CMYKcmyk(12.77% 54.04% 0% 7.84%)
Android#ffcd6ceb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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