#908cdb
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 | #908cdb | |
| RGB | rgb(144 140 219) | |
| HSL | hsl(243.04 52.32% 70.39%) | |
| OKLCH | oklch(0.68 0.12 285.18) | |
| CMYK | cmyk(34.25% 36.07% 0% 14.12%) | |
| Android | #ff908cdb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.01:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.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="#908cdb"
Gradient stop
<stop stop-color="#908cdb"/>
CSS variable + fill
:root { --c: #908cdb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #908cdb; background-color: #908cdb; bg-[#908cdb]