Skip to content
Vectorlight.net

#d28dec

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

HEX
#d28dec
RGB
210, 141, 236
HSL
283.58°, 71.43%, 73.92%
OKLCH
0.75 0.15 316.36
Names
—
Lists

Codes

FormatValue
HEX#d28dec
RGBrgb(210 141 236)
HSLhsl(283.58 71.43% 73.92%)
OKLCHoklch(0.75 0.15 316.36)
CMYKcmyk(11.02% 40.25% 0% 7.45%)
Android#ffd28dec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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