Skip to content
Vectorlight.net

#d051ff

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

HEX
#d051ff
RGB
208, 81, 255
HSL
283.79°, 100%, 65.88%
OKLCH
0.68 0.26 315.35
Names
—
Lists

Codes

FormatValue
HEX#d051ff
RGBrgb(208 81 255)
HSLhsl(283.79 100% 65.88%)
OKLCHoklch(0.68 0.26 315.35)
CMYKcmyk(18.43% 68.24% 0% 0%)
Android#ffd051ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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