#8c01bf
a dark, electric violet · warm · closest name: indigo
RGB
140, 1, 191
HSL
284°, 99%, 38%
CMYK
27, 100, 0, 25
Luminance
0.0936
Every format
| HEX | #8c01bf |
| RGB | rgb(140, 1, 191) |
| HSL | hsl(284, 99%, 38%) |
| CMYK | cmyk(27%, 100%, 0%, 25%) |
| LAB | lab(36.7 71.5 -63.5) |
| LCH | lch(36.7 95.7 318.4) |
| OKLCH | oklch(0.487 0.243 312.1) |
Copy-ready code
/* CSS */
color: #8c01bf;
background-color: #8c01bf;
/* Tailwind (arbitrary) */
class="text-[#8c01bf] bg-[#8c01bf]"
/* SCSS */
$brand: #8c01bf;
/* SwiftUI */
Color(red: 0.549, green: 0.004, blue: 0.749)
/* Android */
Color.parseColor("#8c01bf")Accessibility — WCAG contrast
Aa
#8c01bf on white: 7.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#8c01bf on black: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green0.4%
Blue74.9%
CMYK percentages
Cyan26.7%
Magenta99.5%
Yellow0.0%
Key (black)25.1%
Color previews
#8c01bf text on a black background
contrast 2.87:1
Card sample
#8c01bf text on a white background
contrast 7.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c01bf;
Background color
Panel with #8c01bf background
background-color: #8c01bf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c01bf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 1, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 1, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c01bf; background: linear-gradient(135deg, #8c01bf, #BF0173);