Skip to content
Vectorlight.net

#d858fd

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

HEX
#d858fd
RGB
216, 88, 253
HSL
286.55°, 97.63%, 66.86%
OKLCH
0.69 0.25 317.81
Names
—
Lists

Codes

FormatValue
HEX#d858fd
RGBrgb(216 88 253)
HSLhsl(286.55 97.63% 66.86%)
OKLCHoklch(0.69 0.25 317.81)
CMYKcmyk(14.62% 65.22% 0% 0.78%)
Android#ffd858fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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