Skip to content
Vectorlight.net

#d26cfe

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

HEX
#d26cfe
RGB
210, 108, 254
HSL
281.92°, 98.65%, 70.98%
OKLCH
0.71 0.22 314.45
Names
—
Lists

Codes

FormatValue
HEX#d26cfe
RGBrgb(210 108 254)
HSLhsl(281.92 98.65% 70.98%)
OKLCHoklch(0.71 0.22 314.45)
CMYKcmyk(17.32% 57.48% 0% 0.39%)
Android#ffd26cfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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