#8062ee
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 | #8062ee | |
| RGB | rgb(128 98 238) | |
| HSL | hsl(252.86 80.46% 65.88%) | |
| OKLCH | oklch(0.6 0.2 288.67) | |
| CMYK | cmyk(46.22% 58.82% 0% 6.67%) | |
| Android | #ff8062ee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.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="#8062ee"
Gradient stop
<stop stop-color="#8062ee"/>
CSS variable + fill
:root { --c: #8062ee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8062ee; background-color: #8062ee; bg-[#8062ee]