Skip to content
Vectorlight.net

#d74efb

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

HEX
#d74efb
RGB
215, 78, 251
HSL
287.51°, 95.58%, 64.51%
OKLCH
0.68 0.26 318.44
Names
—
Lists

Codes

FormatValue
HEX#d74efb
RGBrgb(215 78 251)
HSLhsl(287.51 95.58% 64.51%)
OKLCHoklch(0.68 0.26 318.44)
CMYKcmyk(14.34% 68.92% 0% 1.57%)
Android#ffd74efb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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