Skip to content
Vectorlight.net

#cdb7fc

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

HEX
#cdb7fc
RGB
205, 183, 252
HSL
259.13°, 92%, 85.29%
OKLCH
0.82 0.1 298.86
Names
—
Lists

Codes

FormatValue
HEX#cdb7fc
RGBrgb(205 183 252)
HSLhsl(259.13 92% 85.29%)
OKLCHoklch(0.82 0.1 298.86)
CMYKcmyk(18.65% 27.38% 0% 1.18%)
Android#ffcdb7fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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