#916ffa
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 | #916ffa | |
| RGB | rgb(145 111 250) | |
| HSL | hsl(254.68 93.29% 70.78%) | |
| OKLCH | oklch(0.64 0.2 291.02) | |
| CMYK | cmyk(42% 55.6% 0% 1.96%) | |
| Android | #ff916ffa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.58:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.85: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="#916ffa"
Gradient stop
<stop stop-color="#916ffa"/>
CSS variable + fill
:root { --c: #916ffa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #916ffa; background-color: #916ffa; bg-[#916ffa]