Skip to content
Vectorlight.net

#cdb5ef

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

HEX
#cdb5ef
RGB
205, 181, 239
HSL
264.83°, 64.44%, 82.35%
OKLCH
0.81 0.08 303.47
Names
—
Lists

Codes

FormatValue
HEX#cdb5ef
RGBrgb(205 181 239)
HSLhsl(264.83 64.44% 82.35%)
OKLCHoklch(0.81 0.08 303.47)
CMYKcmyk(14.23% 24.27% 0% 6.27%)
Android#ffcdb5ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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