#ea8ef6
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 | #ea8ef6 | |
| RGB | rgb(234 142 246) | |
| HSL | hsl(293.08 85.25% 76.08%) | |
| OKLCH | oklch(0.78 0.17 322.79) | |
| CMYK | cmyk(4.88% 42.28% 0% 3.53%) | |
| Android | #ffea8ef6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.69: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="#ea8ef6"
Gradient stop
<stop stop-color="#ea8ef6"/>
CSS variable + fill
:root { --c: #ea8ef6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ea8ef6; background-color: #ea8ef6; bg-[#ea8ef6]