#ce26ce
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 | #ce26ce | |
| RGB | rgb(206 38 206) | |
| HSL | hsl(300 68.85% 47.84%) | |
| OKLCH | oklch(0.61 0.26 328.19) | |
| CMYK | cmyk(0% 81.55% 0% 19.22%) | |
| Android | #ffce26ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.79: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="#ce26ce"
Gradient stop
<stop stop-color="#ce26ce"/>
CSS variable + fill
:root { --c: #ce26ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ce26ce; background-color: #ce26ce; bg-[#ce26ce]