#912fdf
a balanced, vivid violet · warm · closest name: indigo
RGB
145, 47, 223
HSL
273°, 73%, 53%
CMYK
35, 79, 0, 13
Luminance
0.1338
Every format
| HEX | #912fdf |
| RGB | rgb(145, 47, 223) |
| HSL | hsl(273, 73%, 53%) |
| CMYK | cmyk(35%, 79%, 0%, 13%) |
| LAB | lab(43.3 68.9 -71.2) |
| LCH | lch(43.3 99.0 314.1) |
| OKLCH | oklch(0.543 0.245 304.3) |
Copy-ready code
/* CSS */
color: #912fdf;
background-color: #912fdf;
/* Tailwind (arbitrary) */
class="text-[#912fdf] bg-[#912fdf]"
/* SCSS */
$brand: #912fdf;
/* SwiftUI */
Color(red: 0.569, green: 0.184, blue: 0.875)
/* Android */
Color.parseColor("#912fdf")Accessibility — WCAG contrast
Aa
#912fdf on white: 5.71:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#912fdf on black: 3.68:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.9%
Green18.4%
Blue87.5%
CMYK percentages
Cyan35.0%
Magenta78.9%
Yellow0.0%
Key (black)12.5%
Color previews
#912fdf text on a black background
contrast 3.68:1
Card sample
#912fdf text on a white background
contrast 5.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #912fdf;
Background color
Panel with #912fdf background
background-color: #912fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #912fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(145, 47, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 47, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #912fdf; background: linear-gradient(135deg, #912fdf, #DF2FB8);