Skip to content
Vectorlight.net

#d338da

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

HEX
#d338da
RGB
211, 56, 218
HSL
297.41°, 68.64%, 53.73%
OKLCH
0.63 0.25 326.15
Names
—
Lists

Codes

FormatValue
HEX#d338da
RGBrgb(211 56 218)
HSLhsl(297.41 68.64% 53.73%)
OKLCHoklch(0.63 0.25 326.15)
CMYKcmyk(3.21% 74.31% 0% 14.51%)
Android#ffd338da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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