Skip to content
Vectorlight.net

#d048db

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

HEX
#d048db
RGB
208, 72, 219
HSL
295.51°, 67.12%, 57.06%
OKLCH
0.64 0.24 324.7
Names
—
Lists

Codes

FormatValue
HEX#d048db
RGBrgb(208 72 219)
HSLhsl(295.51 67.12% 57.06%)
OKLCHoklch(0.64 0.24 324.7)
CMYKcmyk(5.02% 67.12% 0% 14.12%)
Android#ffd048db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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