Skip to content
Vectorlight.net

#d252fe

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

HEX
#d252fe
RGB
210, 82, 254
HSL
284.65°, 98.85%, 65.88%
OKLCH
0.68 0.26 316.12
Names
—
Lists

Codes

FormatValue
HEX#d252fe
RGBrgb(210 82 254)
HSLhsl(284.65 98.85% 65.88%)
OKLCHoklch(0.68 0.26 316.12)
CMYKcmyk(17.32% 67.72% 0% 0.39%)
Android#ffd252fe

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="#d252fe"
Gradient stop
<stop stop-color="#d252fe"/>
CSS variable + fill
:root { --c: #d252fe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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