Skip to content
Vectorlight.net

#cdaaff

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

HEX
#cdaaff
RGB
205, 170, 255
HSL
264.71°, 100%, 83.33%
OKLCH
0.8 0.12 302.63
Names
—
Lists

Codes

FormatValue
HEX#cdaaff
RGBrgb(205 170 255)
HSLhsl(264.71 100% 83.33%)
OKLCHoklch(0.8 0.12 302.63)
CMYKcmyk(19.61% 33.33% 0% 0%)
Android#ffcdaaff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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