Skip to content
Vectorlight.net

#d338db

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

HEX
#d338db
RGB
211, 56, 219
HSL
297.06°, 69.36%, 53.92%
OKLCH
0.64 0.26 325.88
Names
—
Lists

Codes

FormatValue
HEX#d338db
RGBrgb(211 56 219)
HSLhsl(297.06 69.36% 53.92%)
OKLCHoklch(0.64 0.26 325.88)
CMYKcmyk(3.65% 74.43% 0% 14.12%)
Android#ffd338db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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