#ceb7fc
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 | #ceb7fc | |
| RGB | rgb(206 183 252) | |
| HSL | hsl(260 92% 85.29%) | |
| OKLCH | oklch(0.82 0.1 299.53) | |
| CMYK | cmyk(18.25% 27.38% 0% 1.18%) | |
| Android | #ffceb7fc |
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.80: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="#ceb7fc"
Gradient stop
<stop stop-color="#ceb7fc"/>
CSS variable + fill
:root { --c: #ceb7fc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ceb7fc; background-color: #ceb7fc; bg-[#ceb7fc]