Skip to content
Vectorlight.net

#cdb8fe

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

HEX
#cdb8fe
RGB
205, 184, 254
HSL
258°, 97.22%, 85.88%
OKLCH
0.82 0.1 297.96
Names
—
Lists

Codes

FormatValue
HEX#cdb8fe
RGBrgb(205 184 254)
HSLhsl(258 97.22% 85.88%)
OKLCHoklch(0.82 0.1 297.96)
CMYKcmyk(19.29% 27.56% 0% 0.39%)
Android#ffcdb8fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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