Skip to content
Vectorlight.net

#cd8cfd

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

HEX
#cd8cfd
RGB
205, 140, 253
HSL
274.51°, 96.58%, 77.06%
OKLCH
0.75 0.17 309.38
Names
—
Lists

Codes

FormatValue
HEX#cd8cfd
RGBrgb(205 140 253)
HSLhsl(274.51 96.58% 77.06%)
OKLCHoklch(0.75 0.17 309.38)
CMYKcmyk(18.97% 44.66% 0% 0.78%)
Android#ffcd8cfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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