Skip to content
Vectorlight.net

#d138ea

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

HEX
#d138ea
RGB
209, 56, 234
HSL
291.57°, 80.91%, 56.86%
OKLCH
0.64 0.27 321.52
Names
—
Lists

Codes

FormatValue
HEX#d138ea
RGBrgb(209 56 234)
HSLhsl(291.57 80.91% 56.86%)
OKLCHoklch(0.64 0.27 321.52)
CMYKcmyk(10.68% 76.07% 0% 8.24%)
Android#ffd138ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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