Skip to content
Vectorlight.net

#d158fe

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

HEX
#d158fe
RGB
209, 88, 254
HSL
283.73°, 98.81%, 67.06%
OKLCH
0.68 0.25 315.49
Names
—
Lists

Codes

FormatValue
HEX#d158fe
RGBrgb(209 88 254)
HSLhsl(283.73 98.81% 67.06%)
OKLCHoklch(0.68 0.25 315.49)
CMYKcmyk(17.72% 65.35% 0% 0.39%)
Android#ffd158fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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