Skip to content
Vectorlight.net

#cfaef7

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

HEX
#cfaef7
RGB
207, 174, 247
HSL
267.12°, 82.02%, 82.55%
OKLCH
0.81 0.11 304.8
Names
—
Lists

Codes

FormatValue
HEX#cfaef7
RGBrgb(207 174 247)
HSLhsl(267.12 82.02% 82.55%)
OKLCHoklch(0.81 0.11 304.8)
CMYKcmyk(16.19% 29.55% 0% 3.14%)
Android#ffcfaef7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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