Skip to content
Vectorlight.net

#cfb5fc

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

HEX
#cfb5fc
RGB
207, 181, 252
HSL
261.97°, 92.21%, 84.9%
OKLCH
0.82 0.1 300.98
Names
—
Lists

Codes

FormatValue
HEX#cfb5fc
RGBrgb(207 181 252)
HSLhsl(261.97 92.21% 84.9%)
OKLCHoklch(0.82 0.1 300.98)
CMYKcmyk(17.86% 28.17% 0% 1.18%)
Android#ffcfb5fc

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.66: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="#cfb5fc"
Gradient stop
<stop stop-color="#cfb5fc"/>
CSS variable + fill
:root { --c: #cfb5fc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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