Skip to content
Vectorlight.net

#cfb5ef

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

HEX
#cfb5ef
RGB
207, 181, 239
HSL
266.9°, 64.44%, 82.35%
OKLCH
0.81 0.08 305.01
Names
—
Lists

Codes

FormatValue
HEX#cfb5ef
RGBrgb(207 181 239)
HSLhsl(266.9 64.44% 82.35%)
OKLCHoklch(0.81 0.08 305.01)
CMYKcmyk(13.39% 24.27% 0% 6.27%)
Android#ffcfb5ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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