Skip to content
Vectorlight.net

#d491eb

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

HEX
#d491eb
RGB
212, 145, 235
HSL
284.67°, 69.23%, 74.51%
OKLCH
0.75 0.14 317.16
Names
—
Lists

Codes

FormatValue
HEX#d491eb
RGBrgb(212 145 235)
HSLhsl(284.67 69.23% 74.51%)
OKLCHoklch(0.75 0.14 317.16)
CMYKcmyk(9.79% 38.3% 0% 7.84%)
Android#ffd491eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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