Skip to content
Vectorlight.net

#cd9aff

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

HEX
#cd9aff
RGB
205, 154, 255
HSL
270.3°, 100%, 80.2%
OKLCH
0.77 0.15 306.46
Names
—
Lists

Codes

FormatValue
HEX#cd9aff
RGBrgb(205 154 255)
HSLhsl(270.3 100% 80.2%)
OKLCHoklch(0.77 0.15 306.46)
CMYKcmyk(19.61% 39.61% 0% 0%)
Android#ffcd9aff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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