Skip to content
Vectorlight.net

#cfa2fd

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

HEX
#cfa2fd
RGB
207, 162, 253
HSL
269.67°, 95.79%, 81.37%
OKLCH
0.79 0.13 306.26
Names
—
Lists

Codes

FormatValue
HEX#cfa2fd
RGBrgb(207 162 253)
HSLhsl(269.67 95.79% 81.37%)
OKLCHoklch(0.79 0.13 306.26)
CMYKcmyk(18.18% 35.97% 0% 0.78%)
Android#ffcfa2fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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