Skip to content
Vectorlight.net

#d04cea

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

HEX
#d04cea
RGB
208, 76, 234
HSL
290.13°, 79%, 60.78%
OKLCH
0.66 0.24 320.6
Names
—
Lists

Codes

FormatValue
HEX#d04cea
RGBrgb(208 76 234)
HSLhsl(290.13 79% 60.78%)
OKLCHoklch(0.66 0.24 320.6)
CMYKcmyk(11.11% 67.52% 0% 8.24%)
Android#ffd04cea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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