#bc51df
a balanced, vivid violet · warm · closest name: orchid
RGB
188, 81, 223
HSL
285°, 69%, 60%
CMYK
16, 64, 0, 13
Luminance
0.2190
Every format
| HEX | #bc51df |
| RGB | rgb(188, 81, 223) |
| HSL | hsl(285, 69%, 60%) |
| CMYK | cmyk(16%, 64%, 0%, 13%) |
| LAB | lab(53.9 63.7 -53.7) |
| LCH | lch(53.9 83.3 319.8) |
| OKLCH | oklch(0.630 0.220 316.8) |
Copy-ready code
/* CSS */
color: #bc51df;
background-color: #bc51df;
/* Tailwind (arbitrary) */
class="text-[#bc51df] bg-[#bc51df]"
/* SCSS */
$brand: #bc51df;
/* SwiftUI */
Color(red: 0.737, green: 0.318, blue: 0.875)
/* Android */
Color.parseColor("#bc51df")Accessibility — WCAG contrast
Aa
#bc51df on white: 3.90:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#bc51df on black: 5.38:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green31.8%
Blue87.5%
CMYK percentages
Cyan15.7%
Magenta63.7%
Yellow0.0%
Key (black)12.5%
Color previews
#bc51df text on a black background
contrast 5.38:1
Card sample
#bc51df text on a white background
contrast 3.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc51df;
Background color
Panel with #bc51df background
background-color: #bc51df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc51df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 81, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 81, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc51df; background: linear-gradient(135deg, #bc51df, #DF51A3);