#8f72da
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 | #8f72da | |
| RGB | rgb(143 114 218) | |
| HSL | hsl(256.73 58.43% 65.1%) | |
| OKLCH | oklch(0.63 0.15 294.4) | |
| CMYK | cmyk(34.4% 47.71% 0% 14.51%) | |
| Android | #ff8f72da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.75:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.58: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="#8f72da"
Gradient stop
<stop stop-color="#8f72da"/>
CSS variable + fill
:root { --c: #8f72da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8f72da; background-color: #8f72da; bg-[#8f72da]