#d462ee
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 | #d462ee | |
| RGB | rgb(212 98 238) | |
| HSL | hsl(288.86 80.46% 65.88%) | |
| OKLCH | oklch(0.69 0.22 319.81) | |
| CMYK | cmyk(10.92% 58.82% 0% 6.67%) | |
| Android | #ffd462ee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.78: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="#d462ee"
Gradient stop
<stop stop-color="#d462ee"/>
CSS variable + fill
:root { --c: #d462ee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d462ee; background-color: #d462ee; bg-[#d462ee]