Skip to content
Vectorlight.net

#cfb8f7

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

HEX
#cfb8f7
RGB
207, 184, 247
HSL
261.9°, 79.75%, 84.51%
OKLCH
0.82 0.09 301.16
Names
—
Lists

Codes

FormatValue
HEX#cfb8f7
RGBrgb(207 184 247)
HSLhsl(261.9 79.75% 84.51%)
OKLCHoklch(0.82 0.09 301.16)
CMYKcmyk(16.19% 25.51% 0% 3.14%)
Android#ffcfb8f7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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