Skip to content
Vectorlight.net

#d85afc

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

HEX
#d85afc
RGB
216, 90, 252
HSL
286.67°, 96.43%, 67.06%
OKLCH
0.69 0.25 317.95
Names
—
Lists

Codes

FormatValue
HEX#d85afc
RGBrgb(216 90 252)
HSLhsl(286.67 96.43% 67.06%)
OKLCHoklch(0.69 0.25 317.95)
CMYKcmyk(14.29% 64.29% 0% 1.18%)
Android#ffd85afc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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