#b177ff
a light, electric violet · warm · closest name: slateblue
RGB
177, 119, 255
HSL
266°, 100%, 73%
CMYK
31, 53, 0, 0
Luminance
0.2976
Every format
| HEX | #b177ff |
| RGB | rgb(177, 119, 255) |
| HSL | hsl(266, 100%, 73%) |
| CMYK | cmyk(31%, 53%, 0%, 0%) |
| LAB | lab(61.5 49.3 -59.6) |
| LCH | lch(61.5 77.4 309.6) |
| OKLCH | oklch(0.688 0.197 301.1) |
Copy-ready code
/* CSS */
color: #b177ff;
background-color: #b177ff;
/* Tailwind (arbitrary) */
class="text-[#b177ff] bg-[#b177ff]"
/* SCSS */
$brand: #b177ff;
/* SwiftUI */
Color(red: 0.694, green: 0.467, blue: 1.000)
/* Android */
Color.parseColor("#b177ff")Accessibility — WCAG contrast
Aa
#b177ff on white: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b177ff on black: 6.95:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green46.7%
Blue100.0%
CMYK percentages
Cyan30.6%
Magenta53.3%
Yellow0.0%
Key (black)0.0%
Color previews
#b177ff text on a black background
contrast 6.95:1
Card sample
#b177ff text on a white background
contrast 3.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b177ff;
Background color
Panel with #b177ff background
background-color: #b177ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b177ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 119, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 119, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b177ff; background: linear-gradient(135deg, #b177ff, #FF77F2);