Skip to content
Vectorlight.net

#d757fe

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

HEX
#d757fe
RGB
215, 87, 254
HSL
285.99°, 98.82%, 66.86%
OKLCH
0.69 0.25 317.33
Names
—
Lists

Codes

FormatValue
HEX#d757fe
RGBrgb(215 87 254)
HSLhsl(285.99 98.82% 66.86%)
OKLCHoklch(0.69 0.25 317.33)
CMYKcmyk(15.35% 65.75% 0% 0.39%)
Android#ffd757fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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