Skip to content
Vectorlight.net

#da40d8

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

HEX
#da40d8
RGB
218, 64, 216
HSL
300.78°, 67.54%, 55.29%
OKLCH
0.65 0.25 328.53
Names
—
Lists

Codes

FormatValue
HEX#da40d8
RGBrgb(218 64 216)
HSLhsl(300.78 67.54% 55.29%)
OKLCHoklch(0.65 0.25 328.53)
CMYKcmyk(0% 70.64% 0.92% 14.51%)
Android#ffda40d8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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