Skip to content
Vectorlight.net

#dcbafe

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

HEX
#dcbafe
RGB
220, 186, 254
HSL
270°, 97.14%, 86.27%
OKLCH
0.84 0.1 307.14
Names
—
Lists

Codes

FormatValue
HEX#dcbafe
RGBrgb(220 186 254)
HSLhsl(270 97.14% 86.27%)
OKLCHoklch(0.84 0.1 307.14)
CMYKcmyk(13.39% 26.77% 0% 0.39%)
Android#ffdcbafe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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