Skip to content
Vectorlight.net

#cdb7ec

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

HEX
#cdb7ec
RGB
205, 183, 236
HSL
264.91°, 58.24%, 82.16%
OKLCH
0.82 0.08 303.66
Names
—
Lists

Codes

FormatValue
HEX#cdb7ec
RGBrgb(205 183 236)
HSLhsl(264.91 58.24% 82.16%)
OKLCHoklch(0.82 0.08 303.66)
CMYKcmyk(13.14% 22.46% 0% 7.45%)
Android#ffcdb7ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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