Skip to content
Vectorlight.net

#d48bed

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

HEX
#d48bed
RGB
212, 139, 237
HSL
284.69°, 73.13%, 73.73%
OKLCH
0.75 0.16 317.12
Names
—
Lists

Codes

FormatValue
HEX#d48bed
RGBrgb(212 139 237)
HSLhsl(284.69 73.13% 73.73%)
OKLCHoklch(0.75 0.16 317.12)
CMYKcmyk(10.55% 41.35% 0% 7.06%)
Android#ffd48bed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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