#cec0fc
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #cec0fc | |
| RGB | rgb(206 192 252) | |
| HSL | hsl(254 90.91% 87.06%) | |
| OKLCH | oklch(0.84 0.08 295.23) | |
| CMYK | cmyk(18.25% 23.81% 0% 1.18%) | |
| Android | #ffcec0fc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.67:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cec0fc"
Gradient stop
<stop stop-color="#cec0fc"/>
CSS variable + fill
:root { --c: #cec0fc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cec0fc; background-color: #cec0fc; bg-[#cec0fc]