Skip to content
Vectorlight.net

#d54efd

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

HEX
#d54efd
RGB
213, 78, 253
HSL
286.29°, 97.77%, 64.9%
OKLCH
0.68 0.26 317.41
Names
—
Lists

Codes

FormatValue
HEX#d54efd
RGBrgb(213 78 253)
HSLhsl(286.29 97.77% 64.9%)
OKLCHoklch(0.68 0.26 317.41)
CMYKcmyk(15.81% 69.17% 0% 0.78%)
Android#ffd54efd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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