#cb6fea
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 | #cb6fea | |
| RGB | rgb(203 111 234) | |
| HSL | hsl(284.88 74.55% 67.65%) | |
| OKLCH | oklch(0.69 0.19 316.98) | |
| CMYK | cmyk(13.25% 52.56% 0% 8.24%) | |
| Android | #ffcb6fea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.99:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.00: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="#cb6fea"
Gradient stop
<stop stop-color="#cb6fea"/>
CSS variable + fill
:root { --c: #cb6fea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb6fea; background-color: #cb6fea; bg-[#cb6fea]