Skip to content
Vectorlight.net

#d754f1

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

HEX
#d754f1
RGB
215, 84, 241
HSL
290.06°, 84.86%, 63.73%
OKLCH
0.68 0.24 320.6
Names
—
Lists

Codes

FormatValue
HEX#d754f1
RGBrgb(215 84 241)
HSLhsl(290.06 84.86% 63.73%)
OKLCHoklch(0.68 0.24 320.6)
CMYKcmyk(10.79% 65.15% 0% 5.49%)
Android#ffd754f1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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