Skip to content
Vectorlight.net

#dfb5ff

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

HEX
#dfb5ff
RGB
223, 181, 255
HSL
274.05°, 100%, 85.49%
OKLCH
0.84 0.11 309.96
Names
—
Lists

Codes

FormatValue
HEX#dfb5ff
RGBrgb(223 181 255)
HSLhsl(274.05 100% 85.49%)
OKLCHoklch(0.84 0.11 309.96)
CMYKcmyk(12.55% 29.02% 0% 0%)
Android#ffdfb5ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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