Skip to content
Vectorlight.net

#cd8def

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

HEX
#cd8def
RGB
205, 141, 239
HSL
279.18°, 75.38%, 74.51%
OKLCH
0.74 0.15 313.15
Names
—
Lists

Codes

FormatValue
HEX#cd8def
RGBrgb(205 141 239)
HSLhsl(279.18 75.38% 74.51%)
OKLCHoklch(0.74 0.15 313.15)
CMYKcmyk(14.23% 41% 0% 6.27%)
Android#ffcd8def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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