Skip to content
Vectorlight.net

#d04cdb

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

HEX
#d04cdb
RGB
208, 76, 219
HSL
295.38°, 66.51%, 57.84%
OKLCH
0.65 0.23 324.59
Names
—
Lists

Codes

FormatValue
HEX#d04cdb
RGBrgb(208 76 219)
HSLhsl(295.38 66.51% 57.84%)
OKLCHoklch(0.65 0.23 324.59)
CMYKcmyk(5.02% 65.3% 0% 14.12%)
Android#ffd04cdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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