#892cf0
a balanced, electric violet · warm · closest name: blue
RGB
137, 44, 240
HSL
269°, 87%, 56%
CMYK
43, 82, 0, 6
Luminance
0.1341
Every format
| HEX | #892cf0 |
| RGB | rgb(137, 44, 240) |
| HSL | hsl(269, 87%, 56%) |
| CMYK | cmyk(43%, 82%, 0%, 6%) |
| LAB | lab(43.4 72.5 -80.8) |
| LCH | lch(43.4 108.5 311.9) |
| OKLCH | oklch(0.545 0.262 298.2) |
Copy-ready code
/* CSS */
color: #892cf0;
background-color: #892cf0;
/* Tailwind (arbitrary) */
class="text-[#892cf0] bg-[#892cf0]"
/* SCSS */
$brand: #892cf0;
/* SwiftUI */
Color(red: 0.537, green: 0.173, blue: 0.941)
/* Android */
Color.parseColor("#892cf0")Accessibility — WCAG contrast
Aa
#892cf0 on white: 5.70:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#892cf0 on black: 3.68:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red53.7%
Green17.3%
Blue94.1%
CMYK percentages
Cyan42.9%
Magenta81.7%
Yellow0.0%
Key (black)5.9%
Color previews
#892cf0 text on a black background
contrast 3.68:1
Card sample
#892cf0 text on a white background
contrast 5.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #892cf0;
Background color
Panel with #892cf0 background
background-color: #892cf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #892cf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(137, 44, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(137, 44, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #892cf0; background: linear-gradient(135deg, #892cf0, #F02CD4);