Skip to content
Vectorlight.net

#dfa5fb

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

HEX
#dfa5fb
RGB
223, 165, 251
HSL
280.47°, 91.49%, 81.57%
OKLCH
0.81 0.13 314.32
Names
—
Lists

Codes

FormatValue
HEX#dfa5fb
RGBrgb(223 165 251)
HSLhsl(280.47 91.49% 81.57%)
OKLCHoklch(0.81 0.13 314.32)
CMYKcmyk(11.16% 34.26% 0% 1.57%)
Android#ffdfa5fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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