Skip to content
Vectorlight.net

#d852eb

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

HEX
#d852eb
RGB
216, 82, 235
HSL
292.55°, 79.27%, 62.16%
OKLCH
0.67 0.24 322.5
Names
—
Lists

Codes

FormatValue
HEX#d852eb
RGBrgb(216 82 235)
HSLhsl(292.55 79.27% 62.16%)
OKLCHoklch(0.67 0.24 322.5)
CMYKcmyk(8.09% 65.11% 0% 7.84%)
Android#ffd852eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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