Skip to content
Vectorlight.net

#cfb5ff

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

HEX
#cfb5ff
RGB
207, 181, 255
HSL
261.08°, 100%, 85.49%
OKLCH
0.82 0.11 300.21
Names
—
Lists

Codes

FormatValue
HEX#cfb5ff
RGBrgb(207 181 255)
HSLhsl(261.08 100% 85.49%)
OKLCHoklch(0.82 0.11 300.21)
CMYKcmyk(18.82% 29.02% 0% 0%)
Android#ffcfb5ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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