#de6cfb
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 | #de6cfb | |
| RGB | rgb(222 108 251) | |
| HSL | hsl(287.83 94.7% 70.39%) | |
| OKLCH | oklch(0.72 0.22 319.08) | |
| CMYK | cmyk(11.55% 56.97% 0% 1.57%) | |
| Android | #ffde6cfb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.74:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.64: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="#de6cfb"
Gradient stop
<stop stop-color="#de6cfb"/>
CSS variable + fill
:root { --c: #de6cfb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de6cfb; background-color: #de6cfb; bg-[#de6cfb]