Skip to content
Vectorlight.net

#dcb9fe

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

HEX
#dcb9fe
RGB
220, 185, 254
HSL
270.43°, 97.18%, 86.08%
OKLCH
0.84 0.1 307.43
Names
—
Lists

Codes

FormatValue
HEX#dcb9fe
RGBrgb(220 185 254)
HSLhsl(270.43 97.18% 86.08%)
OKLCHoklch(0.84 0.1 307.43)
CMYKcmyk(13.39% 27.17% 0% 0.39%)
Android#ffdcb9fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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