Skip to content
Vectorlight.net

#d482fa

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

HEX
#d482fa
RGB
212, 130, 250
HSL
281°, 92.31%, 74.51%
OKLCH
0.74 0.18 314.2
Names
—
Lists

Codes

FormatValue
HEX#d482fa
RGBrgb(212 130 250)
HSLhsl(281 92.31% 74.51%)
OKLCHoklch(0.74 0.18 314.2)
CMYKcmyk(15.2% 48% 0% 1.96%)
Android#ffd482fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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