Skip to content
Vectorlight.net

#d27ffe

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

HEX
#d27ffe
RGB
210, 127, 254
HSL
279.21°, 98.45%, 74.71%
OKLCH
0.73 0.19 312.72
Names
—
Lists

Codes

FormatValue
HEX#d27ffe
RGBrgb(210 127 254)
HSLhsl(279.21 98.45% 74.71%)
OKLCHoklch(0.73 0.19 312.72)
CMYKcmyk(17.32% 50% 0% 0.39%)
Android#ffd27ffe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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