Skip to content
Vectorlight.net

#d138db

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

HEX
#d138db
RGB
209, 56, 219
HSL
296.32°, 69.36%, 53.92%
OKLCH
0.63 0.25 325.32
Names
—
Lists

Codes

FormatValue
HEX#d138db
RGBrgb(209 56 219)
HSLhsl(296.32 69.36% 53.92%)
OKLCHoklch(0.63 0.25 325.32)
CMYKcmyk(4.57% 74.43% 0% 14.12%)
Android#ffd138db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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