#950af3
a balanced, electric violet · warm · closest name: blue
RGB
149, 10, 243
HSL
276°, 92%, 50%
CMYK
39, 96, 0, 5
Luminance
0.1308
Every format
| HEX | #950af3 |
| RGB | rgb(149, 10, 243) |
| HSL | hsl(276, 92%, 50%) |
| CMYK | cmyk(39%, 96%, 0%, 5%) |
| LAB | lab(42.9 81.6 -83.2) |
| LCH | lch(42.9 116.5 314.4) |
| OKLCH | oklch(0.546 0.283 302.9) |
Copy-ready code
/* CSS */
color: #950af3;
background-color: #950af3;
/* Tailwind (arbitrary) */
class="text-[#950af3] bg-[#950af3]"
/* SCSS */
$brand: #950af3;
/* SwiftUI */
Color(red: 0.584, green: 0.039, blue: 0.953)
/* Android */
Color.parseColor("#950af3")Accessibility — WCAG contrast
Aa
#950af3 on white: 5.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#950af3 on black: 3.62:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green3.9%
Blue95.3%
CMYK percentages
Cyan38.7%
Magenta95.9%
Yellow0.0%
Key (black)4.7%
Color previews
#950af3 text on a black background
contrast 3.62:1
Card sample
#950af3 text on a white background
contrast 5.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #950af3;
Background color
Panel with #950af3 background
background-color: #950af3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #950af3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 10, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 10, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #950af3; background: linear-gradient(135deg, #950af3, #F30AB6);