#900dfd
a balanced, electric violet · warm · closest name: blue
RGB
144, 13, 253
HSL
273°, 98%, 52%
CMYK
43, 95, 0, 1
Luminance
0.1331
Every format
| HEX | #900dfd |
| RGB | rgb(144, 13, 253) |
| HSL | hsl(273, 98%, 52%) |
| CMYK | cmyk(43%, 95%, 0%, 1%) |
| LAB | lab(43.2 82.8 -88.3) |
| LCH | lch(43.2 121.0 313.2) |
| OKLCH | oklch(0.550 0.290 299.3) |
Copy-ready code
/* CSS */
color: #900dfd;
background-color: #900dfd;
/* Tailwind (arbitrary) */
class="text-[#900dfd] bg-[#900dfd]"
/* SCSS */
$brand: #900dfd;
/* SwiftUI */
Color(red: 0.565, green: 0.051, blue: 0.992)
/* Android */
Color.parseColor("#900dfd")Accessibility — WCAG contrast
Aa
#900dfd on white: 5.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#900dfd on black: 3.66:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.5%
Green5.1%
Blue99.2%
CMYK percentages
Cyan43.1%
Magenta94.9%
Yellow0.0%
Key (black)0.8%
Color previews
#900dfd text on a black background
contrast 3.66:1
Card sample
#900dfd text on a white background
contrast 5.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #900dfd;
Background color
Panel with #900dfd background
background-color: #900dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #900dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(144, 13, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(144, 13, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #900dfd; background: linear-gradient(135deg, #900dfd, #FD0DCA);