Skip to content
Vectorlight.net

#d048f6

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

HEX
#d048f6
RGB
208, 72, 246
HSL
286.9°, 90.63%, 62.35%
OKLCH
0.66 0.26 317.84
Names
—
Lists

Codes

FormatValue
HEX#d048f6
RGBrgb(208 72 246)
HSLhsl(286.9 90.63% 62.35%)
OKLCHoklch(0.66 0.26 317.84)
CMYKcmyk(15.45% 70.73% 0% 3.53%)
Android#ffd048f6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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