#e398eb
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 | #e398eb | |
| RGB | rgb(227 152 235) | |
| HSL | hsl(294.22 67.48% 75.88%) | |
| OKLCH | oklch(0.78 0.14 323.4) | |
| CMYK | cmyk(3.4% 35.32% 0% 7.84%) | |
| Android | #ffe398eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.10:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.95: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="#e398eb"
Gradient stop
<stop stop-color="#e398eb"/>
CSS variable + fill
:root { --c: #e398eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e398eb; background-color: #e398eb; bg-[#e398eb]