Skip to content
Vectorlight.net

#dfa8ff

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

HEX
#dfa8ff
RGB
223, 168, 255
HSL
277.93°, 100%, 82.94%
OKLCH
0.81 0.13 312.52
Names
—
Lists

Codes

FormatValue
HEX#dfa8ff
RGBrgb(223 168 255)
HSLhsl(277.93 100% 82.94%)
OKLCHoklch(0.81 0.13 312.52)
CMYKcmyk(12.55% 34.12% 0% 0%)
Android#ffdfa8ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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