Skip to content
Vectorlight.net

#dc8aeb

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

HEX
#dc8aeb
RGB
220, 138, 235
HSL
290.72°, 70.8%, 73.14%
OKLCH
0.75 0.16 321.24
Names
—
Lists

Codes

FormatValue
HEX#dc8aeb
RGBrgb(220 138 235)
HSLhsl(290.72 70.8% 73.14%)
OKLCHoklch(0.75 0.16 321.24)
CMYKcmyk(6.38% 41.28% 0% 7.84%)
Android#ffdc8aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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