Skip to content
Vectorlight.net

#dcb2fb

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

HEX
#dcb2fb
RGB
220, 178, 251
HSL
274.52°, 90.12%, 84.12%
OKLCH
0.83 0.11 310.3
Names
—
Lists

Codes

FormatValue
HEX#dcb2fb
RGBrgb(220 178 251)
HSLhsl(274.52 90.12% 84.12%)
OKLCHoklch(0.83 0.11 310.3)
CMYKcmyk(12.35% 29.08% 0% 1.57%)
Android#ffdcb2fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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