#b78eda
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 | #b78eda | |
| RGB | rgb(183 142 218) | |
| HSL | hsl(272.37 50.67% 70.59%) | |
| OKLCH | oklch(0.71 0.12 308.41) | |
| CMYK | cmyk(16.06% 34.86% 0% 14.51%) | |
| Android | #ffb78eda |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.65:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.89: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="#b78eda"
Gradient stop
<stop stop-color="#b78eda"/>
CSS variable + fill
:root { --c: #b78eda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b78eda; background-color: #b78eda; bg-[#b78eda]