#900df4
a balanced, electric violet · warm · closest name: blue
RGB
144, 13, 244
HSL
274°, 91%, 50%
CMYK
41, 95, 0, 4
Luminance
0.1275
Every format
| HEX | #900df4 |
| RGB | rgb(144, 13, 244) |
| HSL | hsl(274, 91%, 50%) |
| CMYK | cmyk(41%, 95%, 0%, 4%) |
| LAB | lab(42.4 80.9 -84.6) |
| LCH | lch(42.4 117.1 313.7) |
| OKLCH | oklch(0.542 0.282 301.0) |
Copy-ready code
/* CSS */
color: #900df4;
background-color: #900df4;
/* Tailwind (arbitrary) */
class="text-[#900df4] bg-[#900df4]"
/* SCSS */
$brand: #900df4;
/* SwiftUI */
Color(red: 0.565, green: 0.051, blue: 0.957)
/* Android */
Color.parseColor("#900df4")Accessibility — WCAG contrast
Aa
#900df4 on white: 5.92:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#900df4 on black: 3.55:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.5%
Green5.1%
Blue95.7%
CMYK percentages
Cyan41.0%
Magenta94.7%
Yellow0.0%
Key (black)4.3%
Color previews
#900df4 text on a black background
contrast 3.55:1
Card sample
#900df4 text on a white background
contrast 5.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #900df4;
Background color
Panel with #900df4 background
background-color: #900df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #900df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(144, 13, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(144, 13, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #900df4; background: linear-gradient(135deg, #900df4, #F40DBE);