Skip to content
Vectorlight.net

#cea1fa

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

HEX
#cea1fa
RGB
206, 161, 250
HSL
270.34°, 89.9%, 80.59%
OKLCH
0.78 0.13 306.8
Names
—
Lists

Codes

FormatValue
HEX#cea1fa
RGBrgb(206 161 250)
HSLhsl(270.34 89.9% 80.59%)
OKLCHoklch(0.78 0.13 306.8)
CMYKcmyk(17.6% 35.6% 0% 1.96%)
Android#ffcea1fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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