Skip to content
Vectorlight.net

#dc8cf0

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

HEX
#dc8cf0
RGB
220, 140, 240
HSL
288°, 76.92%, 74.51%
OKLCH
0.76 0.16 319.41
Names
—
Lists

Codes

FormatValue
HEX#dc8cf0
RGBrgb(220 140 240)
HSLhsl(288 76.92% 74.51%)
OKLCHoklch(0.76 0.16 319.41)
CMYKcmyk(8.33% 41.67% 0% 5.88%)
Android#ffdc8cf0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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