#774bc9
a balanced, vivid violet · warm · closest name: slateblue
RGB
119, 75, 201
HSL
261°, 54%, 54%
CMYK
41, 63, 0, 21
Luminance
0.1317
Every format
| HEX | #774bc9 |
| RGB | rgb(119, 75, 201) |
| HSL | hsl(261, 54%, 54%) |
| CMYK | cmyk(41%, 63%, 0%, 21%) |
| LAB | lab(43.0 46.3 -59.1) |
| LCH | lch(43.0 75.1 308.0) |
| OKLCH | oklch(0.529 0.187 295.4) |
Copy-ready code
/* CSS */
color: #774bc9;
background-color: #774bc9;
/* Tailwind (arbitrary) */
class="text-[#774bc9] bg-[#774bc9]"
/* SCSS */
$brand: #774bc9;
/* SwiftUI */
Color(red: 0.467, green: 0.294, blue: 0.788)
/* Android */
Color.parseColor("#774bc9")Accessibility — WCAG contrast
Aa
#774bc9 on white: 5.78:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#774bc9 on black: 3.63:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red46.7%
Green29.4%
Blue78.8%
CMYK percentages
Cyan40.8%
Magenta62.7%
Yellow0.0%
Key (black)21.2%
Color previews
#774bc9 text on a black background
contrast 3.63:1
Card sample
#774bc9 text on a white background
contrast 5.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #774bc9;
Background color
Panel with #774bc9 background
background-color: #774bc9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #774bc9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(119, 75, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(119, 75, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #774bc9; background: linear-gradient(135deg, #774bc9, #C94BC7);