#9274db
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 | #9274db | |
| RGB | rgb(146 116 219) | |
| HSL | hsl(257.48 58.86% 65.69%) | |
| OKLCH | oklch(0.63 0.15 295.14) | |
| CMYK | cmyk(33.33% 47.03% 0% 14.12%) | |
| Android | #ff9274db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.65:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.74: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="#9274db"
Gradient stop
<stop stop-color="#9274db"/>
CSS variable + fill
:root { --c: #9274db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9274db; background-color: #9274db; bg-[#9274db]