#892cf9
a balanced, electric violet · warm · closest name: blue
RGB
137, 44, 249
HSL
267°, 95%, 58%
CMYK
45, 82, 0, 2
Luminance
0.1396
Every format
| HEX | #892cf9 |
| RGB | rgb(137, 44, 249) |
| HSL | hsl(267, 95%, 58%) |
| CMYK | cmyk(45%, 82%, 0%, 2%) |
| LAB | lab(44.2 74.5 -84.5) |
| LCH | lch(44.2 112.7 311.4) |
| OKLCH | oklch(0.553 0.271 296.5) |
Copy-ready code
/* CSS */
color: #892cf9;
background-color: #892cf9;
/* Tailwind (arbitrary) */
class="text-[#892cf9] bg-[#892cf9]"
/* SCSS */
$brand: #892cf9;
/* SwiftUI */
Color(red: 0.537, green: 0.173, blue: 0.976)
/* Android */
Color.parseColor("#892cf9")Accessibility — WCAG contrast
Aa
#892cf9 on white: 5.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#892cf9 on black: 3.79:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red53.7%
Green17.3%
Blue97.6%
CMYK percentages
Cyan45.0%
Magenta82.3%
Yellow0.0%
Key (black)2.4%
Color previews
#892cf9 text on a black background
contrast 3.79:1
Card sample
#892cf9 text on a white background
contrast 5.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #892cf9;
Background color
Panel with #892cf9 background
background-color: #892cf9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #892cf9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(137, 44, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(137, 44, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #892cf9; background: linear-gradient(135deg, #892cf9, #F92CE0);