#cb8ef7
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 | #cb8ef7 | |
| RGB | rgb(203 142 247) | |
| HSL | hsl(274.86 86.78% 76.27%) | |
| OKLCH | oklch(0.75 0.16 309.8) | |
| CMYK | cmyk(17.81% 42.51% 0% 3.14%) | |
| Android | #ffcb8ef7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.39:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.75: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="#cb8ef7"
Gradient stop
<stop stop-color="#cb8ef7"/>
CSS variable + fill
:root { --c: #cb8ef7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb8ef7; background-color: #cb8ef7; bg-[#cb8ef7]