Skip to content
Vectorlight.net

#cd8ffc

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

HEX
#cd8ffc
RGB
205, 143, 252
HSL
274.13°, 94.78%, 77.45%
OKLCH
0.75 0.16 309.18
Names
—
Lists

Codes

FormatValue
HEX#cd8ffc
RGBrgb(205 143 252)
HSLhsl(274.13 94.78% 77.45%)
OKLCHoklch(0.75 0.16 309.18)
CMYKcmyk(18.65% 43.25% 0% 1.18%)
Android#ffcd8ffc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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