Skip to content
Vectorlight.net

#cdbafa

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

HEX
#cdbafa
RGB
205, 186, 250
HSL
257.81°, 86.49%, 85.49%
OKLCH
0.83 0.09 298.01
Names
—
Lists

Codes

FormatValue
HEX#cdbafa
RGBrgb(205 186 250)
HSLhsl(257.81 86.49% 85.49%)
OKLCHoklch(0.83 0.09 298.01)
CMYKcmyk(18% 25.6% 0% 1.96%)
Android#ffcdbafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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